XDTrees/dsh-xdpool ↗★ 104
dsh-xdpool
One DSH model pool for every free quota you have: merge all locally signed-in WorkBuddy accounts with auto-failover, sign in to 13 vendors by QR/web, aggregate 76 vendors' free tiers, plus a usage dashboard, model routing, a local OpenAI-compatible gateway and a points-automation suite. 适合拥有多个API或WorkBuddy账号并需要自动分摊额度的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:XDTrees/dsh-xdpoolREADME
Read the full README ↗配置
池的配置走插件设置节(settings.xdpool),模型设置页里能改,改完立即生效:
| 字段 | 说明 | 默认 |
|---|---|---|
authFile | 覆盖 WorkBuddy 桌面 auth 文件路径(跨平台自动探测出问题时用,等同于 WORKBUDDY_AUTH_FILE) | 自动探测 |
cooldownMs | 单账号 429 冷却时长(毫秒) | 60000 |
distribution | 账号分配方式:sticky(每对话固定一个账号,新对话换下一个)/ priority(先用完一个)/ round-robin(按顺序轮换)/ balanced(随机,偏向闲置久的) | priority |
上游 prompt 缓存按账号隔离,所以对话中途换号会把缓存整段作废。想让多账号同时分摊额度又不想掉命中率,用
sticky。
也可以直接写进 ~/.dsh/settings.yaml:
xdpool:
cooldownMs: 120000
distribution: sticky