Emck/tirol-dsh-language-set ↗★ 1
@tirol/dsh-language-set
通过系统提示词注入全局修改AI的回复与思考语言 适合需要强制规范Agent输出语言(如中英切换)的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Emck/tirol-dsh-language-set说明文档
阅读完整 README ↗Usage
After successful installation, restart the DSH service to take effect immediately. The default language is Chinese.
Modify profiles/web/cordis.patch.yml configuration to change the language (currently only Chinese and English are supported).
Configuration
| Field | Type | Default | Description |
|---|---|---|---|
lang | string | 'en-US' | Global default language |
replylang | string | '' | Reply language, falls back to lang when '' |
thinkinglang | string | '' | Thinking language, falls back to lang when '' |
replytext | string | '' | Reply prompt text, customizes the default template |
thinkingtext | string | '' | Thinking prompt text, customizes the default template |
command | boolean | false | Whether to enable the language command |
verbose | boolean | false | Whether to enable verbose logging mode |
Configuration Example
Edit profiles/web/cordis.patch.yml to add plugin configuration:
- id: dsh-language-set
config:
lang: "zh-CN"
command: true
verbose: true
Configuration Example
Edit profiles/web/cordis.patch.yml to add plugin configuration:
- id: dsh-language-set
config:
lang: "zh-CN"
command: true
verbose: true
View current configuration
language config