neltharion11/dsh-api-balance ↗★ 0
dsh-api-balance
DeepSeek Harness 捆绑包:在 Web GUI(侧边栏组件)中显示您的 DeepSeek API 账户余额,并通过 api_balance 工具将其暴露给模型。
AI 分析
核心用途是在侧边栏展示 DeepSeek 余额,并允许模型通过工具查询。适合使用 DeepSeek 官方 API 且需要监控额度的用户。
安装
$
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