跳到正文

imlishiyuan/deepseek-harness-zh-cn

40最近提交 2026年8月14日

deepseek-harness-zh-cn DSH 插件

本插件鼓励 DeepSeek Harness 模型以简体中文输出推理过程和最终答案。提供两种安装方式:将 AGENTS.md 文件复制到 DSH 主目录,或通过 npm 安装插件并挂载到配置文件中。插件通过在每个回合注入语言指令,提高中文输出的概率。

如何安装 deepseek-harness-zh-cn DSH 插件

dsh plugin --profile web add deepseek-harness-zh-cn

复制不会执行命令。安装 deepseek-harness-zh-cn DSH 插件前请核对仓库和版本。

deepseek-harness-zh-cn DSH 插件数据来源

deepseek-harness-zh-cn DSH 插件快照日期:2026年8月16日

discovered

deepseek-harness-zh-cn DSH 插件能做什么

  • 默认引导模型用简体中文进行推理和回答
  • 支持两种安装方式:复制 AGENTS.md 或安装 npm 插件
  • 通过 agent/pre-step 水槽在每个回合强化一次中文指令
  • 不修改模型权重或推理逻辑,仅注入语言引导

deepseek-harness-zh-cn DSH 插件适合哪些场景

  • 中文用户希望直接阅读模型的推理链,避免翻译
  • 需要统一输出语言为中文的团队或项目本地化 DSH
  • 在多个 DSH 会话中保持一致的中文语言行为
  • 减少手动提示“用中文回答”的重复操作

deepseek-harness-zh-cn DSH 插件适合谁

  • 偏好简体中文输出的 DSH 中文用户
  • 将 DSH 集成到中文语言应用或工作流中的开发者

deepseek-harness-zh-cn DSH 插件的限制

  • 在技术性任务中,模型的 reasoning_content 仍可能为英文
  • 完全使用中文提示可提高概率,但无法保证模型一定输出中文
  • 插件仅注入语言指令,实际输出语言取决于所选模型的行为

deepseek-harness-zh-cn DSH 插件的仓库 README 摘录

以下文字摘自 deepseek-harness-zh-cn DSH 插件的上游仓库 imlishiyuan/deepseek-harness-zh-cn 的 README,版权归原作者,仅作引用。

**English** | [简体中文](README.zh.md) ![npm version](https://img.shields.io/npm/v/deepseek-harness-zh-cn) ![license](https://img.shields.io/npm/l/deepseek-harness-zh-cn) ![downloads](https://img.shields.io/npm/dm/deepseek-harness-zh-cn) A Chinese-first plugin that makes [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) reason (`reasoning`) and answer in Simplified Chinese by default. ## Overview This project offers two ways (**choose one; the first is recommended**) to turn your DSH's reasoning and output into Simplified Chinese, so Chinese-speaking users can read the trajectory and processing directly without translation overhead: - **Method 1 (recommended, simplest)**: copy `AGENTS.md.example` to `~/.dsh/AGENTS.md`. - **Method 2 (plugin)**: install this package from npm and mount it in the profile. ## Screenshot <div align="center"> <img src="images/1.png" alt="Screenshot 1" width="48%" /> <img src="images/2.png" alt="Screenshot 2" width="48%" /> </div> ## Quick Start ### Method 1: Copy AGENTS.md (recommended) Copy `AGENTS.md.example` to the DSH home directory as `AGENTS.md`: - **Linux / macOS**: `~/.dsh/AGENTS.md` - **Windows**: `C:\Users\<you>\.dsh

阅读完整 README仓库许可: Apache-2.0

deepseek-harness-zh-cn DSH 插件常见问题

如何安装 deepseek-harness-zh-cn?

有两种方式。推荐方法是将 AGENTS.md.example 复制到 ~/.dsh/AGENTS.md。另一种方法是安装 npm 包:运行 `dsh plugin --profile web add deepseek-harness-zh-cn`(需要先安装 pnpm),或者手动进入 DSH 配置目录执行 `npm install deepseek-harness-zh-cn --save`,然后在 cordis.patch.yml 中挂载该插件。

这个插件能保证模型一定输出中文吗?

不能。插件注入的是语言引导指令,可以提高中文输出的概率,但实际输出语言取决于模型自身行为。在技术性任务中,推理过程可能仍然是英文。使用完全中文的提示有助于提高中文概率,但无法百分之百保证。

如何验证插件是否挂载成功?

执行 `npx @deepseek-ai/dsh web --dump-config`,查看输出中是否包含 'dsh-zh' 一行。如果看到,说明插件已激活。之后启动新会话,模型应该会以简体中文进行推理和回答。

这个插件会修改模型或需要额外 API 密钥吗?

不会。它只是在请求中注入一条系统提示,不修改模型权重、推理逻辑,也不需要额外的 API 密钥。你仍然需要自己的 DeepSeek API 密钥才能使用 DSH。

安装后模型仍然输出英文怎么办?

首先通过 dump-config 确认插件已正确挂载。注意引导指令不是强制命令,如果模型持续输出英文,可以尝试在会话中使用更明确的中文提示。插件与中文用户消息配合使用效果最佳。