DreamZhongJu/dsh-smart-model-router0

dsh-smart-model-router

Configurable task-aware model routing bundle for DeepSeek Harness

AI 분석

核心用途是优化模型调用成本与效果。适合需要根据任务复杂度自动分流(如简单任务用快模型,复杂任务用强模型)并需要高可用容灾的用户。

패키지
dsh-smart-model-router
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 24.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DreamZhongJu/dsh-smart-model-router

DSH Smart Model Router

中文

dsh-smart-model-router is an installable DSH bundle that classifies requests and routes them to configured provider/model pairs with ordered technical-failure fallback.

It requires a DSH build that includes the Smart Model Router settings and model-picker integration. The DSH host supplies that interface; this repository supplies the routing plugin and its installable bundle.

Install

dsh plugin --profile web add github:DreamZhongJu/dsh-smart-model-router
dsh --profile web

The bundle adds the router disabled. Enable and configure it in DSH Settings → Plugins → Smart model router.

Notes

  • The selector reads DSH's local provider/model catalog; it does not discover models over the network.
  • When enabled in a non-manual mode, the DSH model picker is locked and the configured route owns selection.
  • Provider credentials remain in DSH's credential service and are never stored by this plugin.

See config.example.yaml for the complete routing configuration. The example is included in both the Git repository and the npm package.