← 返回列表

dsh-set-model

DeepSeek Harness 模型与账号接入 低风险

为 DSH 提供动态模型切换与思考深度调节:set_model / list_models 两个 Agent 工具让模型按任务难度自主切换 provider、model 与 reasoningEffort(思考深度),强制附带切换理由,带 Provider 白名单与上下文窗口 Token 水位护栏,活跃模型注入运行时上下文;进入 Plan 规划模式自动切换到配置的规划模型,退出自动恢复日常执行模型。

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.

怎么安装

DeepSeek Harness dsh plugin add dsh-set-model

简介

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 必填(每次切换都会使会话 …

推荐参考

49 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
用户关注 · 参考最近的查看、安装命令复制和外链访问
49 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
TypeScript
GitHub 星标
0
月下载
最近更新
2026-09-17
创建于
2026-09-17

链接

基础安全检查

检查结果
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
ai-agent, deepseek-harness, dsh-plugin, llm, model-switching

同类推荐

DeepSeek Harness
推荐78

dsh-workbuddy-connect

corrinehu/dsh-workbuddy-connect

将 WorkBuddy 桌面 App 包含的模型自动接入 DeepSeek Harness,在 DSH 对话窗口里零配置使用。

☆ 159 ↓ 5.1K 模型与账号接入
Claude Code
推荐74

claude-code-router

musistudio/claude-code-router

每个AI代理的本地控制平面:跨模型路由、融合新能力、编排工具,并始终保持完全控制。

☆ 37.4K ↓ – 模型与账号接入
MCP 服务器
推荐72

apisix

apache/apisix

云原生API网关和AI网关

☆ 17.2K ↓ – 模型与账号接入
DeepSeek Harness
推荐72

dsh-coding-subscription-oauth

lninghaha/dsh-coding-subscription-oauth

编码订阅 OAuth,支持 SuperGrok / Grok Build、ChatGPT Plus Codex、Kimi Code、Claude Code,并提供可选 loopback OpenAI/Anthropic 网关:本地登录无需粘贴 token,支持 AUTH 刷新重试、grok-4.6 xhigh,并可与 API-key 路由共存。

☆ 23 ↓ 6.8K 模型与账号接入