@blue/dsh-image-model-router
Manifest validDeepSeek Harness plugin: route an agent request to a vision model (deepseek-v4-flash-vision-exp) when the user message contains an image, and keep the original model otherwise.
@blue/dsh-image-model-router
A DeepSeek Harness (dsh) plugin that routes an agent request to a vision model only when the user message contains an image, and keeps the original model otherwise.
- Text-only turns keep your normal model (e.g.
deepseek-v4-pro). - Turns that carry an image (a screenshot, a photo, a diagram) are routed to a multimodal model — by default
deepseek-v4-flash-vision-exp. - Per-agent, per-step: the flag is keyed by the agent object in a
WeakMap, so it can never leak across agents or turns.
Install
dsh plugin --profile web add @blue/dsh-image-model-router
The row is disabled by default so installing never silently changes routing. Enable it from the profile's own cordis.patch.yml:
- id: dsh-image-model-router
disabled: false
config:
provider: deepseek-official
model: deepseek-v4-flash-vision-exp
Then restart the profile (dsh web) and hard-refresh the browser.
Install from a Git checkout (development)
git clone https://github.com/Blue-2571/dsh-image-model-router.git
cd dsh-image-model-router
dsh plugin --profile web add .
Configuration
| Key | Default | Description |
|---|---|---|
provider | deepseek-official | Provider id the vision request is routed to. |
model | deepseek-v4-flash-vision-exp | Vision model id. Any image-capable route your provider advertises works here. |
How it works
user message with image
│
▼
agent/pre-step (waterfall) ── detect image block ──► flag agent
│
▼
agent/request (waterfall) ── flagged? ──► swap provider/model, clear flag
│
▼
vision model answers
Image detection walks nested tool-result content the same way the harness's own image policy does, so an image produced by a tool result is treated as image input too.
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