DSH comes with an adapter that provides reasoningEffort (the reasoning tier for each model), but the reasoning.mode (Standard / Pro) and reasoning.summary (Auto / Concise / Detailed) fields in the Responses request body lack a route-by-route entry point. This plugin bridges that gap: it only rewrites the routes you select, while passing all other requests through unchanged.
Core Features¶
- Route-level control of reasoning intensity: The same model can be configured independently across different providers.
- Adjustable summary levels:
Autolets the model decide;Concise/Detailedenforces short or long summaries. - Uninstallable at any time: Inserted as a profile layer without modifying the DSH core; clearing the selection completely disables it.
- Hot-reload via profile patch layer: Configuration changes take effect immediately upon saving, with no need to restart DSH.
Installation and Activation¶
Use PowerShell to install:
dsh plugin --profile web add "github:zhourenke/dsh-reasoning-mode"
After installation, restart DSH and refresh the page. Find @zhourenke/dsh-reasoning-mode in the Plugins tab at the top of the left workspace. In its Included Components list, click Configure on the reasoning-mode row to open the plugin’s configuration page.
Uninstall command:
dsh plugin --profile web remove @zhourenke/dsh-reasoning-mode
Configuration and Usage¶
- Check the
provider/modelroutes you want to rewrite in the model catalog and click Save. - Open a session and switch the model in the model selector to the route you just selected.
- Click the tag that appears on the right side of the input bar: the top half shows Reasoning Mode (Standard / Pro), and the bottom half shows Summary Level (Auto / Concise / Detailed). The current value is marked with a check; click to apply a change.
Newly selected routes default to Standard + Auto; unchecking and re-checking a route preserves its previous values.
Configuration is stored in <harness home>/profiles/web/cordis.patch.yml, nested under the reasoning-mode entry:
- id: reasoning-mode
name: '@zhourenke/dsh-reasoning-mode'
config:
models:
- provider: <provider-id>
model: <model-id>
mode: pro
summary: detailed
| Field | Type | Default | Description |
|---|---|---|---|
models |
array | [] |
List of routes to rewrite. Each item is { provider, model, mode, summary }. An empty list is the only way to disable the plugin. |
models[].provider |
string | None | Provider ID. Must match the catalog ID exactly. |
models[].model |
string | None | Model ID. Must also match exactly. |
models[].mode |
standard | pro |
standard |
Sent to reasoning.mode. |
models[].summary |
auto | concise | detailed |
auto |
Sent to reasoning.summary. |
- Both
providerandmodelmust match simultaneously; the same model under a different provider will not trigger that route. - Missing or invalid
mode/summaryvalues are normalized back tostandard/autoduring reading and will not cause a load failure. Duplicate entries with identicalprovider+modelcombinations are deduplicated. - Saved routes that do not currently exist in the catalog are retained in the “Saved but currently unavailable” group and will disappear after being manually unchecked and saved.
Important Notes¶
- Only supports GPT models using the OpenAI Responses protocol.
- Requires DSH v0.2.0-rc.2 or higher.
- The plugin does not verify if the model supports reasoning: If you select a model that does not accept
reasoning, the upstream API will return a “parameter not supported” error. - Configuration takes effect immediately upon saving; no DSH restart is required.
modedefaults tostandard, andsummarydefaults toauto.
License¶
MIT