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
AI Analysis
核心用途是在侧边栏展示 DeepSeek 余额,并允许模型通过工具查询。适合使用 DeepSeek 官方 API 且需要监控额度的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:neltharion11/dsh-api-balanceREADME
Read the full 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