lance808/dsh-think-zh ↗★ 0

dsh-think-zh

DeepSeek Harness plugin: make the agent reason (think) in Chinese by contributing a system-prompt section 适合希望约束大模型在推理(Think)阶段使用中文以优化体验的用户。

Package
dsh-think-zh
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Oct 9, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lance808/dsh-think-zh

配置

配置写在 cordis.patch.yml(用户自己的 patch 层优先级更高,升级不会丢失):

- id: think-in-chinese
  config:
    language: 简体中文          # 思考所用语言
    target: think              # think(只约束思考)| all(思考与回答都用该语言)
    verbatim: true             # 是否加入"代码/命令/路径保持原文"的约束
    enabled: true              # 关闭后完全不注册 section
    instruction: ''            # 非空时完全替换内置指令文本
字段默认值含义
language简体中文思考所用语言名称,例如 繁體中文、English、日本語。
targetthinkthink:只约束推理过程,回答语言仍跟随用户;all:回答也用该语言。
verbatimtrue加入"工具参数、代码标识符、文件路径、命令、引文保持原文"的约束,避免模型把代码和报错一起翻译。
enabledtrue关闭时完全不注册 section,等于没有插件,但保留这一行与配置。
instruction''自定义指令全文;非空(去空格后)时取代按 language / target / verbatim 生成的文本。

字段写错会在配置档加载时被拒(不是静默忽略):target 只接受 think / all,enabled 与 verbatim 只接受布尔值,未知字段会报 unknown field 并给出字段路径。