icekale/dsh-provider-auto0

dsh-provider-auto

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

包名
dsh-provider-auto
版本
0.1.1
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:icekale/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