dsh-agent-lang
模型产出文本的三个语言通道——工具调用描述(所有工具调用卡片标题,含 PTC 类预设的 run_code)、思考与回复——各自可跟随网页界面语言、强制指定语言或关闭(默认仅描述通道跟随界面语言)。host 侧注入一条全局 runtime-context 提示指示,client 半上报界面语言,设置里的插件卡片负责切换。
Three independent language channels for model output — tool-call descriptions (every tool-call card title, including run_code in PTC-style presets), thinking, and replies — each set to follow the web GUI language, force a specific language, or turn off (default: only descriptions, following the GUI). One global runtime-context prompt directive on the host; the client half reports the GUI language; a Settings plugin card switches the modes.
怎么安装
dsh plugin add dsh-agent-lang 简介
dsh-agent-lang 简体中文 | English | 日本語 | 한국어 Agent 语言控制 —— 让 DeepSeek Harness (DSH) 里模型的**工具描述、思考、回复输出**三个通道的语言各自可配:跟随界面语言、强制指定语言、或关闭,支持一键全部跟随/一键全关。默认只开工具描述通道(含 PTC 模式 run_code 的 description,即工具卡片标题)跟随界面语言,替代永远英文。 为什么需要它 DSH 里每一次工具调用的 description 参数都是必填的,而且**原样显示在 UI 的调用卡片上**(PTC 模式下它就是 run_code 卡片的标题)。但工具 schema 里对这个字段的说明全是英文措辞加英文示例("5-10 words … Examples: 'Count TODO markers…'"),所以模型默认永远写英文描述——界面是中文的用户,看每一步都在看英文。 本插件**只改提示词侧**:注册一条全局动态 runtime-context 指示,告诉模型当前 GUI 显示语言、并要求所有工具调用描述用该语言书写。不修改任何 preset、persona 或工具 schema(它们是部署资产,升级会覆盖)。 支持范围 | 模式 / preset | 支持 | 说明 | |---|---|---| | standard(标准模式…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 1
- 月下载
- –
- 最近更新
- 2026-08-31
- 创建于
- 2026-08-31
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- cordis, deepseek, deepseek-harness, dsh, dsh-plugin, i18n, language, llm, localization, system-prompt
同类推荐
dsh-commandcode-provider
Mars-Sea/dsh-commandcode-provider
非官方 Command Code 模型接入插件:注册 `commandcode` 路由,带实时模型目录与推理强度支持。
claude-code-router
musistudio/claude-code-router
每个AI代理的本地控制平面:跨模型路由、融合新能力、编排工具,并始终保持完全控制。