wzy816/dsh-plugin-deepseek-balance ↗★ 0
dsh-plugin-deepseek-balance
Shows the DeepSeek total balance, the current peak/off-peak price period, and a countdown to the next price switch.
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wzy816/dsh-plugin-deepseek-balance说明文档
阅读完整 README ↗Configuration
- id: dsh-plugin-deepseek-balance
name: dsh-plugin-deepseek-balance
config:
apiKeyRef: DEEPSEEK_API_KEY # credential reference
balanceTtlSeconds: 60 # balance cache and refresh cadence
holidayTtlSeconds: 21600 # 6h holiday cache
apiBase, holidayApiBase and requestTimeoutMs are configurable too.
配置
- id: dsh-plugin-deepseek-balance
name: dsh-plugin-deepseek-balance
config:
apiKeyRef: DEEPSEEK_API_KEY # 凭据引用名
balanceTtlSeconds: 60 # 余额缓存与刷新间隔
holidayTtlSeconds: 21600 # 节假日缓存(6 小时)
apiBase、holidayApiBase、requestTimeoutMs 也可配置。