dsh-image-model-router
Run the following command in DeepSeek Harness:
dsh plugin install Blue-2571/dsh-image-model-router
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Blue-2571/dsh-image-model-router in your DeepSeek Harness terminal to install the plugin; the source code is at https://github.com/Blue-2571/dsh-image-model-router . After installing, enable it in your profile's cordis.patch.yml and restart the profile.
About this plugin
In a DeepSeek Harness agent workflow, one turn may need only text reasoning while the next carries a screenshot, a photo, or a diagram. Sticking to a text-only model discards image context; switching everything to a vision model pays extra compute on every plain-text turn.
dsh-image-model-router inspects each agent request: it walks nested tool-result content for images the same way the harness does, routes to a configurable multimodal model (default deepseek-v4-flash-vision-exp) when an image is found, and keeps the original model for text-only turns. The routing flag is keyed by the agent object in a WeakMap, so state can never leak across agents or turns.
Built for dsh users who mix text reasoning with image-heavy workflows such as debugging with screenshots, reading diagrams, or analyzing photos; the plugin handles model selection automatically without manual provider switches.
Use Cases
- Mixing screenshots, photos, and diagrams into agent chat and wanting automatic model matching
- Tool calls return image results that need visual understanding rather than plain-text reasoning
- Avoiding extra cost from routing every single turn through a vision model
Best For
- Developers running agent workflows on DeepSeek Harness daily
- Users whose workflows frequently involve image analysis or screenshot debugging
- dsh users who want per-message auto model selection without manual switching
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.