dsh-tui-model-switch
Manifest validPer-stage model routing for dsh-TUI: let subagents run on a different provider/model/reasoning-effort, configured in /settings (model-switch namespace), status via /model-switch.
dsh-tui-model-switch
适用于 dsh-TUI(dshtui.com)的社区插件。
让子代理用另一套模型跑——主会话模型不变。机制参考 lincong1987/dsh-model-switch(MIT)重写为 TUI 原生:设置走 dsh settings 服务(model-switch 命名空间),在 TUI 的 /settings 屏「模型路由」区块直接编辑。
Per-stage model routing for dsh-TUI: run subagents on a different provider/model/reasoning-effort while the main conversation keeps its own route. Inspired by lincong1987/dsh-model-switch (MIT), rebuilt TUI-native.
安装 Install
dsh plugin --profile dsh-tui add github:FUSU123fusu/dsh-tui-model-switch
重启 dsh 后生效。Restart DSH after installation.
使用 Use
- 打开
/settings→「模型路由 / Model switch」区块。 - 「子代理模型」选 自定义 / Custom,「子代理路由」直接从已配置的提供商模型目录里下拉选择(目录不可用时退化为手动输入
provider/model),可选填推理强度(low / medium / high / max,合法档位以模型为准;留空跟随模型默认)。 /model-switch随时查看当前生效的路由。
设为「跟随主会话 / Follow main session」时行为与未安装插件完全一致。
- 子代理启动路径(
subagents.start/startContinuable)会被合入自定义的agentOptions;调用方显式指定的 provider/model 优先于本设置。 - 推理强度不属于
AgentOptions,通过子代理的agent/request拦截器注入,只影响origin: subagent的会话。 - 计划执行(plan-execute)模型路由待 TUI 审批面板扩展缝落地后提供。
机制 How it works
- Settings persist in the dsh settings service (
model-switchnamespace), layered with composition entries and live-reloaded; the TUI/settingsscreen edits them through thetuiSettingsSectionsseam. ctx.subagents.start/startContinuableare wrapped to merge the custom selection intoagentOptions(explicit request fields win over the setting).- Reasoning effort rides the child agent's
agent/requestinterceptor (subagent-origin sessions only).
Non-TUI hosts keep working: the command reports the route as text and the settings section simply doesn't render.
License
MIT
Comments
Loading…
From the same category
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.3k
↓ 203/wk
Apache-2.0
TypeScript
Oct 2, 2026
dsh plugin --profile web add dsh-webA collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.
★ 7.4k
↓ 203/wk
Apache-2.0
TypeScript
dsh plugin --profile web add dsh-webby dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场
★ 5.3k
↓ 165.2k/wk
MIT
TypeScript
Oct 2, 2026
dsh plugin --profile web add dshmarketby crafter-station
A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and more.
★ 4.2k
MIT
TypeScript
Sep 28, 2026
by superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
★ 4k
NOASSERTION
Python
Oct 2, 2026
dsh plugin --profile web add treg-dshby xiaobright
Two-phase DeepSeek Harness preset: Minimal-aligned bootstrap, then full Standard tools (Project2 98/99)
★ 3.8k
JavaScript
Sep 10, 2026