dsh-effort-tweak
Manifest valid★ 4A DeepSeek Harness plugin that allows you to change the reasoning effort of custom models in WebUI.
DSH Effort Tweak
English | 中文
DSH Effort Tweak adds a small settings page for choosing the reasoning levels available to each model in a DeepSeek Harness custom provider. It is designed for the case where the model capability must be edited in llm-pi-ai configuration but the official Web UI does not yet expose that control.
What it does
- Adds Settings → Reasoning effort to the DSH Web UI.
- Lists models explicitly configured in
llm-pi-ai.providers.<provider>.models. - Lets you choose
off,minimal,low,medium,high,xhigh, ormaxfor one model at a time. - Preserves the model's other fields and existing provider-specific wire values.
- Saves through DSH's settings service, so no manual configuration-file editing is needed.
The page intentionally does not show catalog-only providers. Add a model list to a custom provider first, then open this page to tune that model.
Install from a release
Windows PowerShell
Run PowerShell as your normal user and execute:
irm https://raw.githubusercontent.com/Toukaiteio/dsh-effort-tweak/main/scripts/Install-DshEffortTweak.ps1 | iex
To install into another Profile without starting Web UI:
$script = "$env:TEMP\Install-DshEffortTweak.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/Toukaiteio/dsh-effort-tweak/main/scripts/Install-DshEffortTweak.ps1 -OutFile $script
& $script -Profile work -NoStart
macOS and Linux
curl -fsSL https://raw.githubusercontent.com/Toukaiteio/dsh-effort-tweak/main/scripts/install-dsh-effort-tweak.sh | bash
For another Profile:
curl -fsSL https://raw.githubusercontent.com/Toukaiteio/dsh-effort-tweak/main/scripts/install-dsh-effort-tweak.sh -o install-dsh-effort-tweak.sh
bash install-dsh-effort-tweak.sh --profile work --no-start
The scripts download the latest GitHub Release archive, verify the GitHub-provided SHA-256 digest when available, keep it under DSH_HOME/plugin-archives/dsh-effort-tweak/ for future dependency resolution, install it with dsh plugin, and start the default web Profile unless --no-start or -NoStart is supplied.
Install a local package
pnpm install
pnpm build
dsh plugin --profile web add ./dsh-effort-tweak-0.1.0.tgz
Restart DSH Web after installing or updating the plugin so the new client bundle is loaded.
Development
Requirements: Node.js 22.19 or newer and pnpm 10.
pnpm install
pnpm check
pnpm pack --pack-destination artifacts
The CI workflow checks types, runs unit and bundle integration tests, builds the host and browser bundles, and uploads the package archive. Pushing a matching tag such as v0.1.0 runs the release workflow and publishes the archive to GitHub Releases.
Configuration shape
The plugin edits this part of the llm-pi-ai namespace:
providers:
my-gateway:
models:
- id: my-reasoning-model
reasoningEfforts:
off: null
low: low
high: high
The selected model's reasoningEfforts map determines which effort levels the DSH model picker can offer. The plugin uses the existing value for a level when one is already present; a newly enabled level is initialized with its canonical name.
License
MIT. See LICENSE.
Comments
Loading…
Similar plugins
by cyberlieflife
DSH (DeepSeek Harness) web plugin: thinking intensity / reasoning effort settings for custom OpenAI-compatible (pi-ai) models
★ 3
TypeScript
Aug 14, 2026
dsh plugin --profile web add dsh-model-thinkingby u9521
Custom Web Search plugin for DeepSeek Harness (DSH), replacing web-search-deepseek with multi-engine sequential fallback.
★ 0
MIT
TypeScript
Oct 17, 2026
dsh plugin --profile web add @local/dsh-cust-searchby TTTPOB
DeepSeek Harness plugin with per-task model and reasoning-effort selection
★ 0
MIT
TypeScript
Aug 22, 2026
dsh plugin --profile web add dsh-task-modelsby HaoyueQin
Reasoning-effort editing for third-party models in DeepSeek Harness: per-model thinking levels with a knowledge base + protocol inference, edited inside the official Models page card.
★ 65
↓ 1k/wk
MIT
TypeScript
Oct 18, 2026
dsh plugin --profile web add dsh-better-reasoning-effortby SouleyMoni1
DSH plugin: per-model reasoning levels for custom API models, with family presets and an official-settings-page editor.
★ 0
MIT
TypeScript
Sep 28, 2026
dsh plugin --profile web add dsh-experience-pluginA plugin for DeepSeek Harness (DSH) that enables effort choice in custom providers and replaces the standard "Effort" menu item with an intuitive, sticky effort slider directly inside the composer model menu.
★ 0
Apache-2.0
JavaScript
dsh plugin --profile web add dsh-effort-picker