dsh-set-model: Enabling Agents to Autonomously Switch Models and Reasoning Depth per Task
dsh-set-model is a model inference plugin for DeepSeek Harness, maintained by john-walks-slow. It enables the root agent to switch between declared model tiers and reasoning strengths via optional TypeSafe Jev per-turn decision-making or tools such as `set_model` and `switch_preset`, injecting the current model into the runtime context. It supports policyPrompt strategies, automatic upgrading and downgrading in Plan mode, provider whitelisting, context window guardrails, and the "Dynamic Model" feature on the web settings page. It is enabled via a loader configuration with the ID `set-model` in the profile; no separate `dsh plugin add` command is provided in the README.
Read More