JiamingShi-JsPhys/dsh-token-steward ↗★ 1
dsh-token-steward
Model matrix orchestrator for DeepSeek Harness: pool any OpenAI-compatible endpoint, route by task profile across frugal/efficiency/max-power modes, dynamic failover, local exact-match cache, usage ledger and a live console.
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JiamingShi-JsPhys/dsh-token-stewardREADME
Read the full README ↗配置
| 键 | 默认 | 说明 |
|---|---|---|
enabled | true | 关闭则完全不挂载:网关不起、面板不出现、路由不注册 |
poolPath | $DSH_HOME/token-steward/model_pool.yaml | 矩阵配置路径(无 vendors.json 时的回退来源) |
gatewayPort | 51741 | 网关端口,0 = 系统分配(固定值才能写进 profile,见安装一节) |
autoWire | true | 启动时把网关自动写进 DSH 的模型菜单;false 则完全不动 profile |
retainDays | 180 | 路由台账保留天数 |
usagePollMs | 15000 | 读 dsh-usage 台账的间隔(最小 2000) |