qiujianfeng44-bit/dsh-plugin-thinking-api0

dsh-plugin-thinking-api

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

AI Analysis

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

Package
dsh-plugin-thinking-api
Version
0.1.1
License
MIT
Last updated
Aug 18, 2026

Install

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