dsh-language-control
让 Agent 的思考过程也自动使用中文。在每步推理前向 System Prompt 最顶部注入语言约束,强制思维链、规划、工具调用推理全部使用中文,防止工具返回英文内容后发生语言漂移。支持在设置面板中实时编辑约束文本。
Force the agent's chain-of-thought, planning, tool-invocation reasoning, and internal deliberation to stay in Chinese — the language constraint is injected at the top of the system prompt before every reasoning step, so it cannot be diluted by tool-returned content. A settings panel lets you edit the constraint text on the fly.
怎么安装
dsh plugin add github:wodongx123/dsh-language-control 简介
dsh-language-control **让 Agent 的思考过程也自动使用中文。** A DSH plugin that makes the agent think, plan and reason in Chinese — automatically. DSH 插件:在每步推理前向 System Prompt 最顶部注入语言约束,防止 Agent 的思维链(chain-of-thought)在工具返回英文内容后发生"语言漂移"(language drift)。 A DSH plugin that injects a language constraint at the top of the system prompt before every reasoning step, preventing language drift in the agent's chain-of-thought after tool calls return foreign-language content. 功能特性 / Features 每步刷新约束:不是会话开始时注入一次,而是**每次推理前重新注入**到 System Prompt 最顶部(order: -200),优先级最高,不被工具返回内容稀释 中文思考强制:约束要求链式推理、规划、工具调用推理、内部思考全部使用中文,即使工具返回英文…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-08-28
- 创建于
- 2026-08-28
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- dsh-plugin
同类推荐
ms-365-mcp-server
softeria/ms-365-mcp-server
一个模型上下文协议(MCP)服务器,通过Graph API与Microsoft 365和Office服务交互。
mcp-searxng
ihor-sokoliuk/mcp-searxng
通过SearXNG为AI助手提供私密网络搜索——支持Claude、Cursor和任何MCP客户端。