William123666/dsh-reasoning-cn0

dsh-reasoning-cn

DeepSeek Harness plugin that steers reasoning toward Simplified Chinese and translates eligible reasoning blocks.

AI 分析

核心用途是引导大模型在思考阶段使用简体中文,并对思考内容进行自动翻译。适合希望优化思考过程语言习惯、便于阅读推理步骤的用户。

パッケージ
dsh-reasoning-cn
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/18

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:William123666/dsh-reasoning-cn

ドキュメント

README 全文を読む ↗

配置

字段默认值含义
steeringbothoff / system-section / first-step-reminder / both,引导层挂载位置
translatefalse翻译层总开关;默认关闭以避免意外外发 reasoning
translateProviderdeepseek-official翻译调用的 provider 路由
translateModeldeepseek-v4-flash翻译模型(建议廉价非思考路由)
translateThinkingOfftrue翻译调用是否请求 reasoningEffort: 'off'
cjkThreshold0.3[0, 1];未命中日文/繁体特征时,CJK 占比 ≥ 该值视为已是中文
maxCharsPerBlock20000正整数;超长 reasoning 立即停止缓冲并原文透传
timeoutMs30000正整数;单次翻译调用超时
maxOutputTokens8192正整数;翻译调用 maxTokens
verbosefalse打印每次翻译的规模与耗时

以 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