Introduction¶
DeepSeek Harness (DSH) natively supports model switching for the main session. This plugin extends that foundation by configuring independent models and reasoning efforts for the main session, subagents, and Plan Mode respectively, avoiding the limitation where a single model cannot cater to all stages of complex tasks.
Plugin Positioning¶
- Name:
dsh-plugin-model-dispatch - Category: Model Reasoning
- Author: kolawong
- License: MIT
- Core Value: Provides a unified menu in the chat bar to select separate models and reasoning effort levels for the main session, subagents, and Plan Mode.
Core Features¶
This plugin adds the following control capabilities on top of the native DSH functionality:
- Two Composer Chips: Two borderless chips are located on the right side of the input bar, corresponding to the main model and the subagent model respectively. Hovering over them reveals the current routing and reasoning effort. The subagent chip displays “Follows main” when no override is active.
- Unified Menu: All routes (Main, Subagent, Plan Mode) share a single searchable menu that supports searching for models, providers, favorites, recent history, and reasoning efforts.
- Reasoning Effort Slider: Provides a discrete reasoning effort slider, retaining a “Provider Default” option at the start of the slider. The slider supports both dragging and keyboard operations, applying changes in real-time.
- Real-time Application: Selecting a model or dragging the slider takes effect immediately without needing a confirmation row. The setting is written only once after the dragging ends.
- Plan Mode Auto-switching: Automatically switches to the Plan Model when entering Plan Mode; upon approving the plan or executing, it restores the main model and reasoning effort that were active before entering Plan Mode.
- Session Override: Subagent models support per-session overrides. The overridden settings are valid only within that session and do not affect the default settings.
- Catalog Model Support: Supports delegating to all models in the catalog, reading from the main model’s live catalog.
- Routing Validation: Before saving or creating a route, the plugin validates the validity of the model and provider combination via
resolveCallConfig.
Installation and Activation¶
Please ensure DeepSeek Harness 0.2.0-rc.2 is installed before installation.
Install using the official plugin command:
dsh plugin --profile web add git@github.com:kolawong/dsh-plugin-model-dispatch.git
Please replace web with the configuration profile you are actually using (e.g., desktop).
After installation, you must fully exit and reopen DSH for the changes to take effect.
Typical Usage¶
Chat Bar Operations¶
On the right side of the chat input box, click the “Main Model” chip or the “Subagent” chip to open the unified model selection menu. The Main Model switches the model for the current session directly; the Subagent Model is used to switch the model for subsequent subagents launched in that session.
Settings Configuration¶
In the Models & Agents menu of the Web settings, there are four configuration rows:
1. Default Model for New Sessions: Writes to the native configuration to determine the main model for new sessions.
2. Default Subagent Model: Used for subagents when no session override is present.
3. Plan Model: Effective only in Plan Mode.
4. Subagent Delegation Aggression: Controls how aggressively subagents split work.
Plan Mode¶
When entering Plan Mode, DSH automatically saves the current main model and reasoning effort and switches to the Plan Model. After approving the plan, the previous settings are restored before the execution request is assembled.
Use Cases & Notes¶
- Use Cases: Scenarios requiring different models or reasoning effort levels for different stages of complex tasks (e.g., planning phase vs. execution phase).
- Version Dependency: Requires DSH 0.2.0-rc.2 or a compatible version.
- Runtime Mechanism: The plugin runs with the permissions of the current DSH process.
- Post-installation Action: After running the installation command, you must fully close and restart the DSH application; a page refresh is insufficient.
Summary¶
This plugin addresses the lack of native model control for subagents and Plan Mode in DSH through a unified interface, providing intuitive reasoning effort adjustment and real-time effect mechanisms. For related code and documentation, please refer to the GitHub repository.