DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-deepseek-model-router

d

dsh-deepseek-model-router

Manifest valid

Auto-switch DeepSeek models: routes every request to the vision model when images are present, to the pro model for complex tasks, and to the fast model otherwise; includes a switch_model tool for man

hasBundlePatch

dsh-deepseek-model-router

Auto-switch DeepSeek models for DeepSeek Harness. No manual model picking: every model request is routed automatically, and a switch_model tool gives you a manual override when you want one.

How it works

Before every model request, the plugin inspects the conversation and replaces the frozen provider/model:

SituationModel used (defaults)
Conversation contains imagesdeepseek-v4-flash-vision-exp (vision)
Complex task — long text, code, math, analysis keywords (score ≥ threshold)deepseek-v4-pro
Everything else — chat, short questions, routine workdeepseek-v4-flash

It hooks the same agent/request waterfall the built-in model selection uses, installed after it, so the routed model is the final one for the call. The prompt variables (provider/model) stay in sync with what actually runs.

Manual override tool

switch_model(mode, reason?) — mode is one of:

  • auto — back to automatic routing
  • fast — force deepseek-v4-flash
  • pro — force deepseek-v4-pro
  • vision — force deepseek-v4-flash-vision-exp

The override is per-session and takes effect from the next request.

Install

From the plugin market (once published), or locally:

dsh plugin --profile web add dsh-deepseek-model-router

The bundle patch activates the router for the whole profile after a restart. Configuration lives in the bundle patch (cordis.patch.yml → row config): provider, fast/pro/vision models, complexity threshold, tool name, enabled.

Configuration

All fields optional (defaults shown):

config:
  provider: deepseek-official   # only sessions on this provider are routed
  fastModel: deepseek-v4-flash
  proModel: deepseek-v4-pro
  visionModel: deepseek-v4-flash-vision-exp
  complexityThreshold: 2       # task score >= threshold -> pro
  toolName: switch_model       # registered tool name
  enabled: true

Notes

  • Only deepseek-official sessions are routed; other providers pass through untouched.
  • If images are present, the router always prefers an image-capable model (visionModel); if that model is not image-capable in your catalog, the current model is kept.
  • The composer's model seat still shows the session's default selection; the actual model used per call is decided by the router and recorded in the session's request header. Use switch_model to pin a model explicitly.

License

MIT

Comments

Loading…

Similar plugins

dsh-auto-vision

Auto-switch the DeepSeek route to the vision model on demand: flash main session switches (A), pro keeps deep reasoning and delegates image reading to a vision subagent (B), subagents always switch, w

Workflow & AutomationVision & MultimodalManifest valid

★ 0

↓ 101/wk

dsh plugin --profile web add dsh-auto-vision

by zhangzhangco

Automatic tier-based model routing for DeepSeek Harness (dsh): a virtual `smart` model classifies every request by difficulty (hard / normal / easy) and by vision need, then delegates it to the models you already configured.

Development & InfrastructureManifest valid

★ 0

NOASSERTION

JavaScript

Sep 22, 2026

dsh plugin --profile web add dsh-tier-router

by zhiwuli0228

Digests the images in a prompt with a vision model before admission, so any model — a text-only one included — can read them without the session ever switching models, and adds a describe_image tool f

Tools & CapabilitiesVision & MultimodalManifest valid

★ 0

MIT

JavaScript

Oct 25, 2026

dsh plugin --profile web add dsh-image-router

by ringoage

The visual, manual subagent-model picker for DeepSeek Harness — predictable per-session routing with global coverage of every in-process subagent path, complementary to auto-routing plugins.

Workflow & AutomationModels & ProvidersManifest valid

★ 0

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-subagent-model-picker

Flash-only reasoning-effort routing for DeepSeek Harness, setting the DeepSeek flash model reasoning effort per step. The model never changes; effort max is opt-in.

Terminal & ClientsModels & ProvidersManifest valid

★ 0

dsh plugin --profile web add dsh-model-router-en

by 643048695

Route DSH subagent delegations to configured models with per-role routing for explore, plan and patch subagents, round-robin or random distribution, cross-provider failover, and active-window slicing

Terminal & ClientsSessions & MessagesModels & ProvidersManifest valid

★ 1

MIT

JavaScript

Oct 28, 2026

dsh plugin --profile web add dsh-subagent-role-router