DeepSeek Harness plugin

dsh-provider-auto

Automatically add reasoning-level controls to compatible DSH provider models.

Jump to install

Source facts

Repository
icekale/dsh-provider-auto
Latest update
Aug 16, 2026
Category
Models & Providers
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/icekale/dsh-provider-auto
Plugin: dsh-provider-auto
Author: icekale

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-provider-auto

Automatically adds reasoning-effort controls to compatible custom provider models in DeepSeek Harness.

中文说明

What it does

@deepseek-ai/dsh-llm-pi-ai only shows a reasoning selector when a model declares reasoningEfforts. Custom OpenAI-compatible gateways often return model ids but no capability metadata. This plugin watches the llm-pi-ai settings section and fills the missing declaration for recognized reasoning models.

Defaults:

  • Protocols: openai-completions, openai-responses
  • Models: gpt-5*, o1*, o3*, o4*, other o<number>*, and codex*
  • Levels: off, low, medium, high
  • Exclusions: image, audio, embedding, moderation, and reranking models
  • Existing reasoningEfforts declarations are never overwritten

The plugin updates the persisted llm-pi-ai section, so DSH's native model picker and request path remain authoritative.

Install

Install directly from GitHub into the Web profile:

dsh plugin --profile web add github:icekale/dsh-provider-auto

Restart dsh web once after installation. Later provider/model changes are handled live through the settings service.

To remove it:

dsh plugin --profile web remove dsh-provider-auto

Provider configuration

Add providers from the DSH Models page, or edit ~/.dsh/settings.yaml:

llm-pi-ai:
  providers:
    one2api:
      baseURL: https://one2api.top/v1
      api: openai-completions
      apiKeyEnv: ONE2API_API_KEY
      models:
        - id: gpt-5.6-sol
          name: gpt-5.6-sol
        - id: gpt-image-2
          name: gpt-image-2

The plugin adds this only to gpt-5.6-sol:

reasoningEfforts:
  off: null
  low: low
  medium: medium
  high: high

Plugin configuration

Override the plugin row in ~/.dsh/profiles/web/cordis.patch.yml when a gateway uses different model names or wire values:

- id: provider-auto
  config:
    api:
      - openai-completions
      - openai-responses
    modelPattern: '^(gpt-5|o[0-9]|codex|my-reasoner)'
    nonTextPattern: '(image|audio|embedding|rerank)'
    efforts:
      off: null
      low: low
      medium: medium
      high: high

A provider that uses different wire values can map them explicitly:

- id: provider-auto
  config:
    efforts:
      off: null
      low: lite
      medium: standard
      high: max

Limits

This plugin does not implement provider protocols or authentication. DSH still supports only protocols available through its installed adapters. Model capability discovery is name-based because OpenAI-compatible /models endpoints generally do not report reasoning levels. For an exceptional model, declare reasoningEfforts manually; the plugin preserves it.

Development

npm test

Requires Node.js 22 or newer.

License

MIT