wtiaw/dsh-model-router1

model-router

Thinking/execution model routing: turn step 1 uses a configurable thinking model, later steps use the default model.

AI Analysis

核心用途是实现多轮对话中的模型分流,第一步请求使用高强度思考模型,后续步骤自动切回普通模型。适合希望平衡推理深度与响应成本的 DSH 用户。

Package
model-router
Version
0.1.0
License
MIT
Last updated
Aug 14, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

Configuration

The thinking model is a model-router settings namespace (persisted in settings.yaml):

FieldMeaningDefault
thinkingProviderProvider route for step-1 requestsdeepseek-official
thinkingModelModel id for step-1 requestsdeepseek-v4-pro
reasoningEffortAdapter-owned reasoning effort (off / high / max, empty = provider default)high

Ways to change it:

  • UI — the 🧠 pill in the composer: model dropdown (grouped by provider, from the live catalog) + reasoning-effort dropdown; selection applies immediately.
  • Settings — the namespace may also appear in the Settings → Plugins section (schema-driven card), depending on the deployment's settings UI.
  • Settings file — edit settings.yaml:
model-router:
  thinkingProvider: deepseek-official
  thinkingModel: deepseek-v4-pro
  reasoningEffort: max
  • Composition — change the row config: (the base layer; user settings win over it).

The execution model is not configured here: it always follows the agent's default model selection (the Web model selector / agent-default-model settings). To make execution fast, set the default model to a cheap model such as deepseek-v4-flash.