dsh-set-model
Model switching and reasoning-effort control for DeepSeek Harness: set_model and list_models agent tools let the agent autonomously change its provider, model or thinking depth (reasoning effort) mid-task with a mandatory reason, a provider whitelist and a context-window token-pressure guard, the active model is injected into the runtime context, and Plan Mode auto-transition switches to a configured planning model on entering plan mode and restores the previous execution model on exit.
为 DSH 提供动态模型切换与思考深度调节:set_model / list_models 两个 Agent 工具让模型按任务难度自主切换 provider、model 与 reasoningEffort(思考深度),强制附带切换理由,带 Provider 白名单与上下文窗口 Token 水位护栏,活跃模型注入运行时上下文;进入 Plan 规划模式自动切换到配置的规划模型,退出自动恢复日常执行模型。
How to install
dsh plugin add dsh-set-model About
dsh-set-model 为 DeepSeek Harness(DSH / cordis plugin)提供**动态模型与思考深度切换**的插件:Agent 通过 set_model / list_models 工具按任务难度自主切换 provider、model 与 reasoningEffort,插件把活跃模型注入运行时上下文,并随 Plan 模式自动升降级模型。 攻坚疑难问题时升到高推理档位,日常执行保持高性价比档位——不再需要用户手动改配置。 模型看到什么 插件通过 systemPrompt.context 在每个 step 的 Runtime Context 快照尾部注入一行当前活跃模型(cache-safe 追加,模型随时自查、无需调用工具): [Current active model: deepseek/deepseek-chat · reasoning: low] 处于 Plan 模式时附带状态标记: [Current active model: deepseek/deepseek-reasoner · reasoning: high] [Plan Mode Active] 工具:set_model set_model({ provider?, model?, reasoningEffort?, reason }) —— reason 必填(每次切换都会使会话 …
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-17
- Created
- 2026-09-17
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- ai-agent, deepseek-harness, dsh-plugin, llm, model-switching
Related plugins
dsh-workbuddy-connect
corrinehu/dsh-workbuddy-connect
Brings the models in the WorkBuddy desktop app straight into DeepSeek Harness — zero configuration in the DSH chat.
claude-code-router
musistudio/claude-code-router
One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.
dsh-coding-subscription-oauth
lninghaha/dsh-coding-subscription-oauth
Coding-subscription OAuth for SuperGrok/Grok Build, ChatGPT Plus Codex, Kimi Code and Claude Code, plus an opt-in loopback OpenAI/Anthropic gateway: local login without pasting tokens, AUTH refresh-and-retry, grok-4.6 xhigh, and API-key route coexistence.