설치
npx -y @deepseek-ai/dsh plugin --profile web add github:icekale/dsh-provider-auto이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.
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*, othero<number>*, andcodex* - Levels:
off,low,medium,high - Exclusions: image, audio, embedding, moderation, and reranking models
- Existing
reasoningEffortsdeclarations 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
프로젝트 파일 및 신호
표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.
저장소 정보
- 언어
- JavaScript
- 라이선스
- MIT
- 최신 릴리스
- v0.1.1
- 마지막 업데이트
- 2026. 8. 16. 오전 8:40
신중하게 설치하기
소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.