dsh-balance
Show your DeepSeek API balance in the sidebar. · 在侧边栏显示 DeepSeek API 余额。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:shawnyhu/dsh-balance说明文档
阅读完整 README ↗配置 / Configuration
默认即可用;需要自定义时设置下面任意一项:
| 项 | 默认值 | 说明 |
|---|---|---|
apiKeyEnv(设置 → 模型 → DeepSeek) | DEEPSEEK_API_KEY | 读取哪个环境变量 / 凭证引用。 |
baseURL(设置 → 模型 → DeepSeek) | https://api.deepseek.com | DeepSeek API 根地址。 |
DEEPSEEK_BASE_URL(环境变量) | 无 | 覆盖上面的 baseURL(优先级低于「设置」里的明确 baseURL)。 |
插件每次请求都会重新解析「设置 → 模型」里的 apiKeyEnv 与 baseURL,所以改完设置后无需重启即可在下次刷新时生效。若未配置任何 Key,侧边栏会显示「未配置 Key」。