qjf44/dsh-plugin-thinking-api0

dsh-plugin-thinking-api

DeepSeek Harness 插件:一键配置任意 OpenAI 兼容 API 并自动带思考模式,同时规避 developer 角色被第三方端点拒绝(content_filter)的问题。

AI 分析

核心用途是简化第三方大模型(如DeepSeek-R1等带思考模型)的接入。适合需要使用第三方API、且希望完美呈现思考过程的开发者。

パッケージ
dsh-plugin-thinking-api
バージョン
0.1.2
ライセンス
MIT
最終更新
2026/08/18

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:qjf44/dsh-plugin-thinking-api

ドキュメント

README 全文を読む ↗

Configuration reference

Provider (per providers.)

FieldTypeRequiredDefaultMeaning
baseURLstringAPI endpoint base URL
apiKeyEnvstringEnv-var name holding the API key
displayNamestringroute idName shown in pickers
thinkingFormatenumdeepseekdeepseek | openai | openrouter | together | zai | qwen | string-thinking
modelsdictModel id → model entry

Model (per models.)

FieldTypeRequiredDefaultMeaning
namestringmodel idDisplay name
thinkingbooleanfalseEnable reasoning levels
thinkingEffortsdictautoCustom level → wire-value mapping, e.g. { off: null, high: high, max: xhigh }
contextWindownumber262144Context window size
maxTokensnumber32768Max output tokens

When thinking: true and no thinkingEfforts is given, the plugin fills a verified DeepSeek-compatible level map (off / high / max, mapping to disabled / reasoning_effort: high / reasoning_effort: xhigh). Provide thinkingEfforts to add levels (low/medium) or override per API.