dshbase

Plugin directory / Developer / dsh-provider-auto

dsh-provider-auto

Verified · install-tested on dsh icekale

✓ Actively maintained Builds on 1 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-16Last push
Cross-platformPlatform

What it does

Automatically add reasoning-level controls to compatible DeepSeek Harness provider models

✅
Our take
Works — verified, early-stage project

Automatically add reasoning-level controls to compatible DeepSeek Harness provider models It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

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

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-provider-auto for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

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

Headless (CLI) profile:

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

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →