跳到正文

JuneLearn/dsh-reasoning-settings

50最近提交 2026年8月15日

dsh-reasoning-settings DSH 插件

该插件在DeepSeek Harness Web中引入独立的推理力度设置页面,允许用户为自定义的llm-pi-ai提供商配置思考强度。它自动读取官方Models页面已添加的自定义提供商和模型,提供每个模型的推理力度等级选择以及提供商范围默认值。服务器端还修复了子代理的模型继承问题,并在subagent和subagent_fork工具中添加了可选的provider/model/reasoning_effort字段。

如何安装 dsh-reasoning-settings DSH 插件

dsh plugin --profile web add github:JuneLearn/dsh-reasoning-settings

复制不会执行命令。安装 dsh-reasoning-settings DSH 插件前请核对仓库和版本。

dsh-reasoning-settings DSH 插件数据来源

dsh-reasoning-settings DSH 插件快照日期:2026年8月16日

discovered

dsh-reasoning-settings DSH 插件能做什么

  • 自动读取官方Models页面中的自定义提供商和模型。
  • 为每个模型声明推理力度等级:off、minimal、low、medium、high、xhigh、max。
  • 自定义每个等级发送给API的实际wire值。
  • 设置提供商默认推理力度,限制为该提供商所有模型都支持的等级。
  • 配置openai-completions提供商的推理wire格式。
  • 通过官方settings.mutate API写回llm-pi-ai.providers.*,不触碰API密钥。
  • 修复子代理模型继承:子代理继承父代理的实时提供商/模型,而非创建时的官方默认值。
  • 在subagent和subagent_fork工具中添加provider、model、reasoning_effort字段,不替换原有行为。

dsh-reasoning-settings DSH 插件适合哪些场景

  • 用户使用第三方API中继,希望为不同模型设置不同的推理力度。
  • 开发者使用子代理时需要子代理继承父代理的当前第三方提供商和推理力度。
  • 高级用户希望精细调整每个等级发送的wire值,以匹配API中继的期望值。
  • 用户希望在子代理调用中覆盖模型,同时保留父代理的推理力度默认值。
  • 工作流或智能体使用增强后的subagent工具,明确指定特定提供商/模型和推理力度。

dsh-reasoning-settings DSH 插件适合谁

  • 使用DeepSeek Harness Web且接入了自定义第三方LLM提供商的开发者。
  • 需要为每个模型和提供商精细控制推理力度的高级用户。
  • 依赖子代理或派生代理并需要正确模型/推理继承的用户。

dsh-reasoning-settings DSH 插件的限制

  • 仅支持DeepSeek Harness的Web profile(profile web),其他profile不兼容。
  • 需要DeepSeek Harness 0.1.0-rc.5或兼容版本;Harness仍处于开发者预览阶段,接口可能变化。
  • 插件本身不强制API中继接受发送的推理力度——如果中继不支持该值,可能返回HTTP 400。
  • 每次调用指定provider/model/reasoning_effort仅影响本地进程内的子代理;Codex、Claude Code和ACP子代理以独立进程运行,不受影响。
  • 安装需要网络能访问registry.npmjs.org和github.com。
  • 系统需安装Node.js 22.19.x或24+、pnpm和Git。

dsh-reasoning-settings DSH 插件的仓库 README 摘录

以下文字摘自 dsh-reasoning-settings DSH 插件的上游仓库 JuneLearn/dsh-reasoning-settings 的 README,版权归原作者,仅作引用。

A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) Web settings plugin that adds an independent **reasoning effort** (thinking intensity) page for custom `llm-pi-ai` providers. The official UI only exposes effort selection for first-party DeepSeek models; this plugin makes it work for third-party / relay APIs too. [中文说明](./README.zh-CN.md) > **Third-party service recommendation (referral link)** > > If you are looking for an OpenAI-compatible API relay, you can take a look at [WPIronman API](https://api.wpironman.top/register?aff=JUNE). This is my referral link, and I may receive a referral benefit if you register through it; any promotion or benefit is subject to the provider's current terms. This plugin is independent of that service and does not require any particular relay. Evaluate pricing, reliability, and privacy terms before choosing a provider. > > New users can redeem the gift quota with code `99F509ABC6C38F77`. ## Features - Auto-reads the custom providers and models you already added on the official **Models** page. - Declares a per-model effort level from `off / minimal / low / medium / high / xhigh / max`. - Customizes the actual wire value sent

阅读完整 README仓库许可: MIT

dsh-reasoning-settings DSH 插件常见问题

如何安装 DSH Reasoning Settings 插件?

你可以使用 npx 命令安装:`npx --yes -p @deepseek-ai/dsh dsh plugin --profile web add github:JuneLearn/dsh-reasoning-settings`。首先需要安装 Node.js、pnpm 和 Git。如果你有 DeepSeek Harness 的源码,也可以从源码根目录运行 `pnpm dsh plugin --profile web add github:JuneLearn/dsh-reasoning-settings`。

如何升级插件到最新版本?

只需再次运行相同的安装命令即可。对于 npx 方法:`npx --yes -p @deepseek-ai/dsh dsh plugin --profile web add github:JuneLearn/dsh-reasoning-settings`。对于 pnpm 源码方法:`pnpm dsh plugin --profile web add github:JuneLearn/dsh-reasoning-settings`。插件会自动更新到最新版本,无需先卸载。

如何卸载插件?

使用卸载命令:npx 方法运行 `npx --yes -p @deepseek-ai/dsh dsh plugin --profile web remove dsh-reasoning-settings`。pnpm 源码方法在 Harness 源码根目录运行 `pnpm dsh plugin --profile web remove dsh-reasoning-settings`。卸载后重启 `dsh web`,推理力度设置页面将消失。

为什么我的子代理没有继承我设置的推理力度?

插件的服务器端修复默认启用。请确保插件已正确安装,并且在安装后重启了 Web 服务器。同时确认子代理是本地进程内的子代理(不是 Codex、Claude Code 或 ACP)。如果你在插件配置中将 `subagentRouting` 设置为 `false`,请改回 `true`。

插件支持哪些推理力度等级?

插件支持七个等级:`off`(关闭)、`minimal`(最小)、`low`(低)、`medium`(中)、`high`(高)、`xhigh`(极高)和 `max`(最大)。你可以为每个模型分配这些等级,还可以设置提供商范围的默认值,该默认值限制为该提供商所有模型都支持的等级。每个等级发送给 API 的实际 wire 值都可以自定义。