liangzz1998/dsh-thinking-language ↗★ 0

dsh-thinking-language

让 DeepSeek Harness 里的 agent 用指定语言思考与回复:一条系统提示词 section 即可把思考过程切换为简体中文,兼容标准/PTC/自定义预设,可配置思考与回复语言。

Package
dsh-thinking-language
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Oct 26, 2026

Other repositories with this package name

Install

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

配置

配置直接写在 profile 的 cordis.patch.yml 里(DSH 的插件行支持按 id 覆盖配置):

- id: thinking-language
  name: dsh-thinking-language
  config:
    enabled: true      # 是否启用,默认 true
    thinking: zh-CN    # 思考语言:zh-CN(默认)| auto(不干预)
    answer: auto       # 回复语言:auto(默认,跟随用户)| zh-CN(始终中文)
    extra: ''          # 追加到系统提示词的自定义文本

常用组合

想要的效果配置
中文思考,回复跟随用户(默认)thinking: zh-CN + answer: auto
中文思考 + 始终中文回复thinking: zh-CN + answer: zh-CN
只要求中文回复,不干预思考thinking: auto + answer: zh-CN
临时关闭enabled: false