r0bert001/dsh-balance-plugin ↗★ 0
dsh-model-balance
Real-time DeepSeek account balance display for the DeepSeek Harness Web GUI
AI 분석
核心用途是在 DSH Web 界面实时显示 DeepSeek 账户余额。适合需要监控 API 额度消耗的用户,需在配置文件中设置刷新间隔和 API Key 环境变量。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:r0bert001/dsh-balance-plugin配置
编辑 $DSH_HOME/profiles/web/cordis.patch.yml 覆盖行配置:
- id: model-balance
config:
intervalMs: 30000 # 宿主刷新间隔(毫秒),最小 5000
apiKeyEnv: DEEPSEEK_API_KEY
baseURL: https://api.deepseek.com