dsh-smart-scenario-router
Routes dsh requests by conversation scenario and retries with fallback models when requests fail.
根据对话场景选择模型,并在请求失败时按候选链进行回退。
How to install
dsh plugin add github:xobexo/dsh-smart-scenario-router About
dsh-smart-scenario-router 为 DeepSeek Harness(dsh)提供基于对话场景的模型路由。插件会根据用户消息选择合适的模型,并在请求失败时按候选链自动回退。 功能 根据消息内容识别以下场景: 项目拆解 / 架构设计 插件查找 / 工具推荐 代码审查 代码变更对比 代码编写 / 调试 复杂推理 / 科研 / Agent 日常对话 / 快速问答 极速高并发 / 批量抽取 多模态(图文输入) 长文本 / 数据分析 优先使用国产模型,配置的 GPT 模型作为兜底。 请求失败时自动尝试当前场景的下一个模型。 低置信度的消息会使用 deepseek-v4-flash-0731 进行场景判断。 在 dsh Web 设置页显示模型池、场景映射和当前路由状态。 模型池配置会通过 dsh settings 持久化保存。 安装 要求: DeepSeek Harness >= 0.1.1-rc.1 Node.js 和 pnpm 已在 dsh 中配置至少一个可用的模型 Provider 直接从 GitHub 安装: powershell npx -y @deepseek-ai/dsh plugin --profile web add github:xobexo/dsh-smart-scenario-router 也可以使用完整仓库地址: powershell npx -y…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-08-31
- Created
- 2026-08-27
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh-plugin, dsh-plugins
Related plugins
dsh-context
bowenliang123/dsh-context
DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.
dsh-cost-meter
Han-1413141/dsh-cost-meter
Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.
dsh-usage-stats
Ychris12138/dsh-usage-stats
Multi-provider usage dashboard with provider/model token breakdowns, calendar drill-downs, account balances, and OpenCode Go / Z.ai subscription quota tracking.
TokenLedger
zh667/TokenLedger
Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.