William123666/dsh-reasoning-cn ↗★ 0
dsh-reasoning-cn
DeepSeek Harness plugin that steers reasoning toward Simplified Chinese and translates eligible reasoning blocks.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:William123666/dsh-reasoning-cn说明文档
阅读完整 README ↗配置
| 字段 | 默认值 | 含义 |
|---|---|---|
steering | both | off / system-section / first-step-reminder / both,引导层挂载位置 |
translate | false | 翻译层总开关;默认关闭以避免意外外发 reasoning |
translateProvider | deepseek-official | 翻译调用的 provider 路由 |
translateModel | deepseek-v4-flash | 翻译模型(建议廉价非思考路由) |
translateThinkingOff | true | 翻译调用是否请求 reasoningEffort: 'off' |
cjkThreshold | 0.3 | [0, 1];未命中日文/繁体特征时,CJK 占比 ≥ 该值视为已是中文 |
maxCharsPerBlock | 20000 | 正整数;超长 reasoning 立即停止缓冲并原文透传 |
timeoutMs | 30000 | 正整数;单次翻译调用超时 |
maxOutputTokens | 8192 | 正整数;翻译调用 maxTokens |
verbose | false | 打印每次翻译的规模与耗时 |
以 DSH profile patch 管理插件配置时,挂载项应包含类似如下 config;请按自己的 provider/model 路由替换:
- insert:
- id: reasoning-cn
name: dsh-reasoning-cn
config:
steering: both
translate: true
translateProvider: your-provider
translateModel: your-translation-model
translateThinkingOff: true