Bundle
dsh-smart-model-router
Configurable task-aware model routing bundle for DeepSeek Harness
- Source
- DreamZhongJu
- License
- MIT
- Updated
- Updated 8 days ago
Readme
# DSH Smart Model Router [中文](README.zh.md) `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 ```sh 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.
Install
dsh plugin --profile web add github:DreamZhongJu/dsh-smart-model-router
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-smart-model-router from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.