ChaoYuZhang001/dsh-auto-router ↗★ 0
@chaoyuzhang/dsh-auto-router
为 DeepSeek Harness 提供可配置的自动模型路由层级,按任务轻重选择模型。 适合需按任务复杂度自动分流模型的用户;需先配置目标 provider 与模型 ID。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ChaoYuZhang001/dsh-auto-router說明文件
閱讀完整 README ↗Configuration
Override the inserted auto-router row in a profile patch:
- id: auto-router
config:
providerId: auto
displayName: My Auto Router
targetProvider: my-openai-gateway
tiers:
light: fast-model
medium: balanced-model
heavy: reasoning-model
code: coding-model
vision: vision-model
sticky: true
mediumThreshold: 300
heavyThreshold: 1200
contextWindow: 262144
defaultMaxTokens: 32768
The router registers providerId as its synthetic route and delegates to targetProvider. The target route must advertise the configured model IDs.
The package does not store, read, or transmit API keys. Credentials belong to the target provider's normal DSH settings and credentials configuration.