qjf44/dsh-plugin-thinking-api0

dsh-plugin-thinking-api

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

包名
dsh-plugin-thinking-api
版本
0.1.2
许可证
MIT
最近更新
2026年8月18日

安装

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

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.