Foreword¶
In DSH’s plugin system, model reasoning capabilities can be supplemented through plugins. For third-party models in llm-pi-ai, if a model entry does not declare reasoningEfforts, default effort levels need to be added, and DSH effort levels should be mapped to gateway values, for example, high maps to ultra.
hytime/dsh-thinking-effort is a DSH plugin that provides a configuration layer for this purpose: it supplements configurable thinking effort levels for these models and sets the default thinking effort for sub-agents.
What This Is¶
The repository path is hytime/dsh-thinking-effort, the npm package name is @hytime/dsh-thinking-effort, the repository owner is hytime, and the license is MIT. It is aimed at DSH users who need to manually configure reasoning effort for llm-pi-ai models.
Core Features¶
- Adds default
off,high, andmaxeffort levels for models that do not declarereasoningEfforts, without overwriting custom values. - Allows selecting reasoning effort levels per model in DSH Settings and configuring corresponding gateway values.
- Maps DSH effort levels to gateway values, for example,
highmaps toultra. - Sets the default thinking effort for sub-agent requests, which only applies if the request does not explicitly specify one.
- Includes Chinese, English, Japanese, and Korean setting dictionaries; Japanese/Korean switching requires DSH core locale support.
- Displays a watermark of the installed plugin version in the bottom-right corner of the settings page.
Installation and Enabling¶
Use the official DSH CLI to manage plugin profiles. A standard npm install will not register the DSH profile bundle.
dsh plugin --profile <profile> add @hytime/dsh-thinking-effort
The above command adds the plugin to the specified DSH profile. Host changes require restarting DSH; settings and locale changes take effect in the browser, and you may need to refresh the page if necessary.
Typical Usage¶
- Open
Settings → Model capabilities and effortin DSH. - On Stock DSH, you can use
Page languageto select中文orEnglish;日本語and한국어require DSH core locale support. - In the
Subagent default effortcard, select the default effort level for sub-agents and clickApply. - Use
Quick settingsto apply the official DeepSeek or general presets for all models, or expandprovider/modelfor detailed configuration. - Select the reasoning effort level and fill in the precise gateway value.
| DSH Effort Level | Gateway Value |
|---|---|
off |
Leave blank to omit the parameter |
high |
ultra |
max |
max |
- Return to
Composer, select a model, and use its reasoning effort selector.
Applicable Scenarios and Notes¶
This plugin is suitable for the following situations:
- Using
llm-pi-aito connect third-party models; - The model does not declare
reasoningEfforts, and reasoning effort levels need to be supplemented per model; - Mapping DSH effort levels to gateway values;
- Setting a default thinking effort for sub-agents while preserving explicitly requested values.
Notes before use:
llm-pi-aiexposes seven standard effort levels:off,minimal,low,medium,high,xhigh, andmax.- Non-
offlevels require a gateway value; an emptyoffvalue indicates omitting the parameter. - The selected sub-agent effort level must be supported by the target model, otherwise the gateway may return
UNSUPPORTED_REASONING_EFFORT. - Both
offand unset effort levels may omit thereasoningfield; whether thinking is disabled depends on the gateway protocol. - Version
0.1.8includes Japanese and Korean dictionaries, but the current official DSH only exposeszhandenviaLocaleRuntime; selectingjaorkonatively in DSH will fail. - Modifying only this plugin cannot extend DSH’s global locale list.
- The plugin runs with the permissions of the current
dshprocess; review the source code and license before installation.
Reference Links¶
GitHub repository:
https://github.com/hytime/dsh-thinking-effort
Directory page clue (not confirmed in this material):
https://www.skillhub.cn/plugins/hytime/dsh-thinking-effort