DSH Plugins
返回列表
🤖

dsh-smart-scenario-router

模型推理 更新于 2026.09.01

在终端中运行以下命令:

dsh plugin install xobexo/dsh-smart-scenario-router

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 终端执行 dsh plugin install xobexo/dsh-smart-scenario-router 即可完成安装;也可从 GitHub 仓库 https://github.com/xobexo/dsh-smart-scenario-router 克隆源码后本地安装。

插件介绍

Running GLM, DeepSeek, Qwen and GPT side by side in DeepSeek Harness means juggling model choices with every prompt: you want GLM for architecture planning, DeepSeek Pro for deep code review, and Flash for firehose batch extraction. Manually switching between them breaks flow and is easy to get wrong.

dsh-smart-scenario-router removes that burden. It reads each user message, classifies it into one of ten scenarios covering architecture design, code review, multimodal image-text input, long-context analysis and more, then picks the first available model along a priority chain. If the upstream call fails, it slides automatically to the next candidate until the request succeeds. Messages with low confidence are re-judged by a designated referee model (Flash by default), and the full model pool, per-scenario chain and live routing state are all visible and editable right in the dsh settings page. The plugin respects manual model choices and never touches API keys.

If you have at least two domestic models plus a GPT fallback configured in dsh and your daily work oscillates between coding, planning and batch extraction, this plugin lets you stop thinking about which model to pick. A restart after install is all it takes.

使用场景

  • 日常编码与调试时自动匹配最优模型
  • 多模型共存时减少手动切换成本
  • 上游请求失败时无感回退到候选链下一模型

适合人员

  • 同时配置了国产模型与 GPT 的 dsh 用户
  • 在架构设计、代码审查、批量抽取间频繁切换的工作流
  • 希望消除模型选择心智负担的开发者