Dsh Nl Model Switch
passingby000/dsh-nl-model-switch · productivity
Registers a switchmoder (provider, model) tool with the executing body to apply the same open interface as original/model ctx.apiProxy.sessions.selectModel, sets the session level model selection and is effective at the next prompt assembly, keeping the same session and context.
★ 3GitHub stars
0Forks
2026-08-28Last updated
JavaScriptLanguage
MITLicense
Key features
- Switch to text-v4-pro for "deepseek-v4-flash"
- Registers a switch model (provider, model) tool with the same public interface as original /model ctx.apiProxy.sessions.selectModel to set the session level model selection and take effect at the next prompt assembly, keep the same session and context.
- The post-speak model is not really switching: it may be that the current model has not correctly called the switch model tool (only verbally said "to switch").
- Cross-border effectiveness - Web, TUI, IM robots (micro-intelligence, flybooks, etc.) because switching takes place at the conversational level and does not depend on panels
- Keep context intact - Switch to the same session, dialogue history is not lost
Requirements
- Target model registered in DSH settings.yaml (providers.models list)
- Models need to be able to identify and call on the switch model tool (mainstream models support)
Install command
dsh plugin --profile web add github:passingby000/dsh-nl-model-switch