dsh-model-controller
Manifest valid★ 1Provides a dynamic model routing plugin for DeepSeek Harness based on keyword and semantic classification, automatically selecting the model and reasoning intensity according to the task.
dsh-model-controller
中文 | English
把本插件安装进 DSH profile 后,每个用户 turn 会自动选择一次模型:先按关键词做正则匹配,未命中再走语义分类。
当前版本要求 DeepSeek Harness 0.1.1-rc.2 或兼容版本。
默认路由
| 场景 | 模型 | Reasoning |
|---|---|---|
复杂结构(v4pm、重构、设计) | deepseek-v4-pro | max |
Review(review) | deepseek-v4-pro | high |
小脚本(v4fm) | deepseek-v4-flash | max |
小方法(v4fh) | deepseek-v4-flash | high |
| 处于 Plan Mode | deepseek-v4-pro | max |
| 语义分类器(未命中时) | deepseek-v4-flash | off |
未命中时保留 Agent 的原始模型。选定路由在整个 turn 内有效。
设置开关
打开 设置 → 插件 → 插件配置。保存后从下一个用户 turn 起生效。
- 全局匹配模式 — 混合模式(先正则,再语义)、仅 Semantic、仅 Regex。
- Route 规则 — 增删改排序路由;可恢复内置默认表。
- Semantic 分类器 — 仅在混合 / 仅 Semantic 需要分类时使用。
- Plan Mode — 处于 Plan Mode 时强制使用专用 Pro/max 模型。
- 路由元数据 — 在 reasoning 开头显示 provider、模型、推理强度和 Route id。
安装
dsh plugin --profile web add dsh-model-controller@next
dsh web
从本仓库安装时先构建,再安装当前目录:
pnpm install
pnpm run build
dsh plugin --profile web add .
卸载:dsh plugin --profile web remove dsh-model-controller。
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0-rc.1 | — | — |
Comments
Loading…
From the same category
by awesome-dsh-plugin
A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 24.1k
CC0-1.0
Python
Nov 10, 2026
by 0xsline
DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.
★ 1.3k
CC0-1.0
Python
Nov 6, 2026
by woniuniuniu
DeepSeek Harness 自媒体工作台插件:一句话记灵感,一键生成脚本、封面、配图和分镜
★ 771
↓ 3.7k/wk
MIT
JavaScript
Nov 8, 2026
dsh plugin --profile web add dsh-media-deskby uumit-ai
Open dsh web from your phone or another computer through a UUMit account, without running your own server or installing another program: a built-in tunnel client connects to UUMit's hosted tunnel, and
★ 521
↓ 268/wk
MIT
JavaScript
Oct 21, 2026
dsh plugin --profile web add @uumit-ai/dsh-uumit-remoteby Yuuyuko-uu
DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间
★ 508
MIT
JavaScript
Nov 9, 2026
dsh plugin --profile web add dsh-fish-memoryby SAOS-3624
Scene-aware storyboard for DeepSeek Harness: 9-16 numbered cells with timestamps + transcript + an audio envelope, packed into ONE image (384 tokens). Two tools: video_storyboard and video_zoom.
★ 499
↓ 17k/wk
MIT
JavaScript
Nov 10, 2026
dsh plugin --profile web add dsh-video-storyboard