Foreword¶
In the DSH plugin ecosystem, many operations can be moved from the command line or configuration items to the interface via plugins. For scenarios that require switching inference tiers between different models, maintaining separate configuration items increases operational costs. qjcnmd/dsh-reasoning-slider is a DSH plugin that embeds the reasoning tier slider directly into the DeepSeek Harness model selector: click the model selector, select a model, and a slider appears below it. Dragging the slider switches the inference tier supported by that model.
What is This¶
qjcnmd/dsh-reasoning-slider is maintained by qjcnmd and licensed under MIT. Its purpose is to provide a UI plugin for DSH’s web profile, allowing the model selector pop-up to directly display and switch the inference tier supported by the current model.
This plugin is suitable for scenarios where dsh is already in use and the goal is to reduce the cost of manually switching tiers. It does not replace DSH itself but is installed as a DSH plugin into a specified profile for use.
Core Features¶
Here are the verified capabilities:
- The slider is embedded within the model selector pop-up. After selecting a model, it automatically displays the inference tiers supported by that model.
- Real-time preview while dragging the slider; takes effect upon release.
- Automatically carries the current tier when switching models; if the target model does not support the current tier, it automatically falls back to its default tier.
- Single-tier models display “Supported Tier: xxx”, while models without tiers show a prompt.
- Supports keyboard switching via
←/→or↑/↓; also supports switching via scroll wheel.
Installation and Activation¶
First, ensure that pnpm and dsh are installed in the environment:
npm i -g pnpm
npm i -g @deepseek-ai/dsh
Install from npm:
dsh plugin --profile web add reasoning-slider
Or install from GitHub:
dsh plugin --profile web add github:qjcnmd/dsh-reasoning-slider
After installation, restart dsh web.
To disable or uninstall the plugin:
dsh plugin --profile web remove reasoning-slider
You can also edit ~/.dsh/profiles/web/cordis.patch.yml and add disabled: true to the insert line to disable the plugin at the profile configuration level.
Typical Usage¶
After following the installation steps above, the typical usage flow is as follows:
- Restart
dsh web. - Open DSH’s model selector.
- After selecting a model, the reasoning tier slider appears below it.
- Drag the slider to switch to the desired tier; it takes effect upon release.
- If switching to another model, the plugin attempts to retain the current tier; if the target model does not support that tier, it falls back to the target model’s default tier.
- You can also adjust the tier using the keyboard arrows (
←/→,↑/↓) or the mouse scroll wheel.
Suitable Scenarios and Notes¶
This plugin is suitable for the following scenarios:
- You are already using the model selector in DSH’s web profile.
- You frequently need to switch between multiple models and want to reduce the repetitive task of setting inference tiers.
- You want to directly view the inference tiers supported by the current model on the interface, rather than relying solely on configuration items.
Please note:
- This plugin requires
pnpmanddsh. - After installation, you need to restart
dsh web. - DSH plugins run under the permissions of the current
dshprocess; check the source code and license before installation. - The community plugin directory and DSH plugin ecosystem are in an extension relationship and should not be interpreted as an official app store.
Links¶
- GitHub: https://github.com/qjcnmd/dsh-reasoning-slider
- Directory entry clue: https://www.skillhub.cn/plugins/qjcnmd/dsh-reasoning-slider (This address comes from the plugin clue and is not verified as fact)