neltharion11/dsh-api-balance ↗★ 0
dsh-api-balance
DeepSeek Harness bundle: shows your DeepSeek API account balance in the web GUI (sidebar widget) and exposes it to the model through an api_balance tool
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:neltharion11/dsh-api-balance说明文档
阅读完整 README ↗配置
通过 profile 的 cordis.patch.yml 覆盖(行 id:api-balance):
- id: api-balance
config:
apiKeyEnv: DEEPSEEK_API_KEY # 凭据引用名
baseURL: https://api.deepseek.com
timeoutMs: 15000 # 单次上游请求超时
cacheMs: 60000 # 宿主缓存余额快照的时长
enabled: true