dsh-model-auto-hot-switch
Run the following command in DeepSeek Harness:
dsh plugin install SHUJILAI/dsh-model-auto-hot-switch
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install SHUJILAI/dsh-model-auto-hot-switch in the DeepSeek Harness terminal to install; source at https://github.com/SHUJILAI/dsh-model-auto-hot-switch
About this plugin
Not every model in the DeepSeek Harness accepts image input. When you ask the agent to read a screenshot, run an OCR job, or handle any image file, that step should go to a vision-capable model — while plain chat and coding should stay on the fast default you chose. Manually flipping between models mid-session is tedious and easy to forget, especially when image and non-image steps alternate inside a single turn.
dsh-model-auto-hot-switch makes the switch automatic and free. For each step (session, turn, step) it checks locally whether the messages carry an image block: if yes, the step is routed to the first discovered vision model; if no, your default model is left untouched. The classification is pure local code — no classifier call, no prompt rewrite, no duplicated request — so it costs zero extra tokens. It replaces only the provider and model fields through the harness's own agent/request extension point; messages, system prompt, tools, and session state are never modified. One click on the lightning icon at the bottom-right of dsh Web enables it, and the toggle persists in config.json across restarts.
Built for dsh Web users who mix image tasks (screenshots, OCR, image files) with regular chat and coding in the same session. As long as a vision-capable model exists in your provider catalog, the plugin auto-discovers it with zero configuration. In headless mode the route endpoints are skipped, but the hot-switch logic still runs from the persisted toggle.
Use Cases
- Mix screenshot OCR and regular coding in the same session
- Alternate image and non-image steps across a multi-turn conversation
- Read an image file then continue chat without manually switching models
Best For
- dsh Web users who regularly mix image files with text chat
- Configurers who want a vision model on standby without manual switching
- Inference workflow users who care about zero extra token overhead
Related Plugins
A unified suite combining hot runtime injection, task-aware thinking-mode routing, and a graded session protocol with red-team gates to sustain model diligence across long-horizon inference.
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.