changmodel
Manifest validModel switching, model capability configuration, fixed compaction models, subagent routing, and input history enhancement.
changmodel
Portable DeepSeek Harness plugin for switching models, managing model capabilities, and optionally enabling input-history recall.
Commands
/cmodel [provider|]model[context][/effort]
Examples:
/cmodel gpt-5.6-sol[1m]
/cmodel {gateway}gpt-5.6-sol[1m]
/cmodel openai|{gateway}gpt-5.6-sol[1m]/high
provider|selects an existing Harness provider route. When omitted, the current session provider is retained.{gateway}remains part of the upstream model id. It is not a Harness provider route.[context]sets the model context window./effortis applied only when the configured model supports that reasoning level; unsupported values fall back to the default effort.- Models.dev lookups remove
{...}and[...]decorations.
Settings
The changModel settings page provides:
- Provider-scoped model search, add, edit, and delete.
- Context window, maximum output tokens, text/image capability, and custom reasoning levels.
- Models.dev capability lookup with editable bulk application to matching saved models.
- A fixed summary model selection for context compaction when the target Harness supports compaction.
- Optional input-history recall patch controls.
- Subagent role policies with exact, alias, keyword, and priority matching.
- Unmatched-role fallback to a configured subagent default, the parent session model, or deny dispatch.
- Role-level provider, model, reasoning effort, context window, maximum output, and image capability settings.
- Provider-default and model-level API protocol selection for OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages.
- Subagent configuration is persisted under
llm-pi-ai.changmodelSubagents; the optional dispatch adapter applies matching rules when the target Harness exposes a pre-dispatch hook.
All model capability changes write to the target Harness's own llm-pi-ai settings. No provider credentials, API keys, sessions, or model configuration are bundled in this plugin.
Optional compatibility features
Input-history recall patches the installed dsh-client-ui-conversation only after semantic anchor validation. The patch manager:
- discovers the target component at runtime;
- creates a versioned local backup;
- refuses to patch when expected Harness structures are missing or ambiguous;
- supports status checks and restoration.
Compaction remains optional. A Harness that does not expose an active compaction service continues to support model switching and settings management.
Model-level protocol overrides are enabled through a managed compatibility patch. The page checks the installed llm-pi-ai structure before applying it, stores a hash-protected backup, refuses incompatible upgrades, and can restore the original file. Enabling or restoring this patch requires a Harness restart. Only protocol adapters provided by the installed Harness are accepted; arbitrary request formats are not inferred.
Installation
Install this package using the DeepSeek Harness plugin mechanism. The package declares a web client bundle and a profile bundle patch.
After installation, restart the Harness. Use the changModel settings page to configure optional features for that specific machine.
Comments
Loading…
Similar plugins
Explicit model routing for Main, Subagents, web_search, and image generation, plus a catalog-driven Composer and Plan Review picker with Model, Effort, Context, Fast, and Thinking variants.
★ 0
dsh plugin --profile web add dsh-model-switchRanked subagent delegation: role-based model routing with failover, per-route reasoning effort, model-transparent labels, fork delegation, and a visual route editor.
★ 0
dsh plugin --profile web add dsh-delegation-suiteby lincong1987
dsh plugin: flexible model switch for sub‑agent & plan execution. 为子代理和计划执行选择更合适的模型。
★ 10
↓ 1.9k/wk
MIT
TypeScript
Oct 23, 2026
dsh plugin --profile web add dsh-model-switchDSH plugin: matches a model you declared on a custom gateway to the capability metadata it should have — context window, output cap, reasoning levels and image support — by looking the bare model name
★ 0
dsh plugin --profile web add dsh-model-metadataby AkotaP
DSH web plugin: a Model Capabilities page in Settings — manage per-model Context Window, Max Output, Input Modalities and Reasoning Levels (Default = drop the field), plus global preset lists.
★ 0
MIT
JavaScript
Sep 28, 2026
dsh plugin --profile web add dsh-model-tweaksby BruceLanLan
Two-tier model routing: a strong tier plans, advises and reviews while a cheap tier implements, with plan-mode-aware auto routing, a high-impact escalation guard, failure auto-escalation, and subagent
★ 6
↓ 64/wk
MIT
JavaScript
Sep 3, 2026
dsh plugin --profile web add dsh-tier-router