dsh-reasoning-effort-new: Configure reasoning effort for any DSH model

Preface

After integrating multiple Providers into DeepSeek Harness (DSH), different models don’t support “reasoning effort” in a unified way: some use OpenAI Responses wire fields, while others have different tier names and default values. If you only modify a single gateway’s handwritten configuration, it’s easy to miss changes when switching models or sources, and there’s no unified tier selector in the UI.

dsh-reasoning-effort-new targets models already connected in Harness, completing and managing reasoning-effort-related settings, and providing a discrete slider and a Provider-grouped model selector in the Web input area. The following sections explain usage by positioning, capabilities, installation, configuration, and UI behavior.

What Is This

Maintainer: Ayowait. Plugin repository: Ayowait/dsh-reasoning-effort-new (MIT License; the current published package example version is dsh-reasoning-effort-new-v0.2.8.zip). Community directory page: Entry on skillhub.cn.

In one sentence: it sets reasoning effort for any connected model in DeepSeek Harness, supports Provider defaults, model-level overrides, and protocol wire value mapping; on the Web side, the highest tier displays a purple dynamic effect. It does not restrict Providers or model brands.

Core Features

The capabilities listed in the documentation are as follows; you can check them as needed before installation:

  1. Configure reasoning effort for any model connected to Harness;
  2. Auto-discover all existing Providers from the current llm-pi-ai settings with zero configuration;
  3. The configuration layer supports off, minimal, low, medium, high, xhigh, max levels; the panel slider is fixed to five tiers: off, low, medium, xhigh, max (UI labels: Off / Low / Medium / XHigh / Max);
  4. Provider defaults, model-level overrides, wire value mapping (efforts);
  5. Model selector is grouped and collapsible by Provider; select the source first, then the model;
  6. The reasoning effort slider has a thick track with discrete tiers; the highest tier has purple glow, flashing, and trailing effects;
  7. Model and effort switching are staged on the frontend and submitted only when the selection box is closed, reducing UI flicker;
  8. Settings updates are appended; existing declarations are not overwritten.

Default safety policy (coexists with existing DSH configuration): existing reasoningEfforts (including false) will not be overwritten; model fields unrelated to reasoning remain unchanged; no Provider credentials, requests, tools, or telemetry are added. The plugin only prepares the settings contract; actual model control is still performed by DSH.

Installation and Enablement

Install the pre-built Bundle from the repository into the DSH web profile, then restart the running Harness. The repository already commits lib/, so no local compilation is needed when installing from GitHub.

dsh plugin --profile web add github:Ayowait/dsh-reasoning-effort-new
dsh web

You can also download dsh-reasoning-effort-new-v0.2.8.zip from Releases and follow your usual offline installation method (subject to the Release page instructions).

The plugin runs under the current DSH process permissions; before installation, you should review the source code and MIT License yourself to confirm it meets your environment policy.

Configuration

In most environments, no manual Provider names are needed: the plugin discovers local existing Providers from llm-pi-ai settings and fills in generic reasoning tiers for models lacking declarations. The Bundle no longer includes a built-in name whitelist such as cliproxyapi or jyld.

Only add overrides in the Cordis patch when a special gateway requires different wire values, you want to exclude a Provider, or you need to handle an individual model separately. Example structure (see the table below for field meanings):

- insert:
    - id: reasoning-effort
      name: dsh-reasoning-effort-new
      config:
        defaults:
          reasoning: medium
        providers:
          special-provider:
            api: openai-responses
            efforts:
              high: reasoning_high
            models:
              non-reasoning-model:
                disabled: true
          excluded-provider:
            disabled: true
Field Effect
auto Whether to auto-discover all existing Providers, default true; when false, only explicitly listed entries in providers are processed.
defaults.api Protocol fallback when a Provider itself has no api.
defaults.reasoning Fill in a default reasoning tier for all Providers without overwriting existing values.
defaults.efforts Override the generic wire value mapping for all Providers.
providers.<id>.api Select a protocol default mapping for a specified Provider.
providers.<id>.reasoning Fill in a default reasoning tier for a specified Provider.
providers.<id>.efforts Override the wire value mapping for a specified Provider.
providers.<id>.disabled Exclude a specified Provider.
providers.<id>.models.<model-id>.efforts Override the mapping for an individual model.
providers.<id>.models.<model-id>.disabled Explicitly mark a model as not using reasoning effort.

Note: Providers must already exist in llm-pi-ai settings; the plugin only enhances existing Providers and does not recreate deleted Providers. If a model or gateway does not support a tier on the slider, the selection may be rejected upstream or silently downgraded.

Reasoning Bar in the Input Box and Model Panel

Reasoning bar: the browser reads the reasoning tier published by the current model, renders it as a discrete slider, and submits the selection through the DSH shared model catalog. While dragging, the text, fill bar, and highest-tier effects update in real time; the final effort is submitted to the backend only after release. Models without reasoning metadata do not show an empty control.

Model panel (two levels): click the model bar at the bottom-right of the input box → click the “模型” (Model) row to open the panel.

  1. In the collapsed state, only the source list is shown (source name + model count for that source); the currently used source is marked “当前使用” (Currently using);
  2. Click a source, the model list for that source slides out on the right; click a model to switch (submitted together with the reasoning effort when the panel is closed);
  3. Enter keywords in the top search box; the right column displays matching models grouped by source;
  4. “返回” (Back): when the right column is open, first collapse the right column, then close the entire panel; Esc or clicking outside the panel closes it directly.

Use Cases and Caveats

Suitable for: scenarios where you already use multiple Providers daily in DSH Web, want to adjust reasoning effort uniformly, and occasionally need to perform wire mapping or exclude sources for individual gateways.

Not suitable as a tool to “create Providers out of thin air”; nor does it replace the real reasoning capability declarations of upstream models.

The DSH ecosystem emphasizes “everything is a plugin”; skillhub.cn and similar sites are community directories and have no official affiliation with DeepSeek / Hithink.

For local development and Bundle alignment, you can run pnpm install, npm run build in the repository, and mount src/index.ts with dsh web --patch ./cordis.yml (see the “本地开发” (Local Development) section in the repository README).

Closing

dsh-reasoning-effort-new consolidates reasoning effort settings completion, mapping, and Web controls in one place: auto-discovers Providers by default, and writes Cordis overrides when needed. Follow the README for installation commands; after installation, restart dsh web to use the slider and grouped model selector in the input area.

  • Directory page: https://www.skillhub.cn/plugins/Ayowait/dsh-reasoning-effort-new
  • GitHub: https://github.com/Ayowait/dsh-reasoning-effort-new
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye