ZI-LV68/dsh-deepseek-model-router ↗★ 0
dsh-deepseek-model-router
Auto-switch DeepSeek models for DeepSeek Harness: routes every model request to the vision model when images are present, to the pro model for complex tasks, and to the fast model otherwise; includes a switch_model tool for manual per-session overrides.
AI Analysis
核心用途是根据输入内容(如是否含图、任务复杂度)自动分流到最合适的 DeepSeek 模型。适合希望在速度、成本和效果之间取得自动平衡的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ZI-LV68/dsh-deepseek-model-routerREADME
Read the full README ↗Configuration
All fields optional (defaults shown):
config:
provider: deepseek-official # only sessions on this provider are routed
fastModel: deepseek-v4-flash
proModel: deepseek-v4-pro
visionModel: deepseek-v4-flash-vision-exp
complexityThreshold: 2 # task score >= threshold -> pro
toolName: switch_model # registered tool name
enabled: true