跳到正文

Toukaiteio/dsh-effort-tweak

30最近提交 2026年8月13日

dsh-effort-tweak DSH 插件

DSH Effort Tweak 集成到 DSH Web UI 中,在设置下添加了一个“推理等级”页面。它列出在 `llm-pi-ai.providers.<provider>.models` 中显式配置的模型,并允许为每个模型从七个等级中选择一个。更改通过 DSH 的设置服务保存,无需手动编辑配置文件。

如何安装 dsh-effort-tweak DSH 插件

dsh plugin --profile web add ./dsh-effort-tweak-0.1.0.tgz

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

dsh-effort-tweak DSH 插件数据来源

dsh-effort-tweak DSH 插件快照日期:2026年8月16日

discovered

dsh-effort-tweak DSH 插件能做什么

  • 在 DSH Web UI 的设置中添加“推理等级”页面。
  • 列出在 `llm-pi-ai.providers.<provider>.models` 中显式配置的模型。
  • 支持选择七个等级:off、minimal、low、medium、high、xhigh、max。
  • 保留模型的其他字段和现有的提供者特定 wire 值。
  • 通过 DSH 的设置服务保存更改,避免手动编辑配置文件。

dsh-effort-tweak DSH 插件适合哪些场景

  • 无需编辑配置文件即可调整特定模型的推理等级。
  • 在同一提供者中为不同任务快速切换推理等级。
  • 管理自定义提供者中多个模型的推理等级。
  • 与 DSH 的自定义提供者设置集成,精细调整 LLM 行为。

dsh-effort-tweak DSH 插件适合谁

  • 使用支持推理等级的自定义提供者的 DSH 用户。
  • 希望无需手动编辑配置即可控制模型推理的开发者或高级用户。
  • 需要通过 Web UI 即时调整推理等级的用户。

dsh-effort-tweak DSH 插件的限制

  • 该页面有意不显示仅目录提供者;模型必须显式配置在自定义提供者中。
  • 一次只能配置一个模型。
  • 安装或更新插件后需要重启 DSH Web UI。
  • 仅适用于 `llm-pi-ai` 命名空间下且支持推理等级的模型。

dsh-effort-tweak DSH 插件的仓库 README 摘录

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

English | [中文](README.zh-CN.md) DSH Effort Tweak adds a small settings page for choosing the reasoning levels available to each model in a DeepSeek Harness custom provider. It is designed for the case where the model capability must be edited in `llm-pi-ai` configuration but the official Web UI does not yet expose that control. ## What it does - Adds **Settings → Reasoning effort** to the DSH Web UI. - Lists models explicitly configured in `llm-pi-ai.providers.<provider>.models`. - Lets you choose `off`, `minimal`, `low`, `medium`, `high`, `xhigh`, or `max` for one model at a time. - Preserves the model's other fields and existing provider-specific wire values. - Saves through DSH's settings service, so no manual configuration-file editing is needed. The page intentionally does not show catalog-only providers. Add a model list to a custom provider first, then open this page to tune that model. ## Install from a release ### Windows PowerShell Run PowerShell as your normal user and execute: ```powershell irm https://raw.githubusercontent.com/Toukaiteio/dsh-effort-tweak/main/scripts/Install-DshEffortTweak.ps1 | iex ``` To install into another Profile without starting Web UI:

阅读完整 README仓库许可: MIT

dsh-effort-tweak DSH 插件常见问题

如何安装 DSH Effort Tweak?

Windows 上可以使用提供的 PowerShell 脚本,macOS/Linux 上使用 bash 脚本。脚本会下载最新发布包,验证 SHA-256 摘要,并通过 `dsh plugin` 命令安装。你也可以从源码构建:`pnpm install && pnpm build && dsh plugin add ./dsh-effort-tweak-0.1.0.tgz`。

为什么在推理等级页面看不到我的模型?

该页面仅显示在自定义提供者的模型列表(`llm-pi-ai.providers.<provider>.models`)中显式列出的模型。仅目录提供者不会显示。请确保已将模型添加到自定义提供者的配置中,然后再调整其推理等级。

可以一次设置多个模型吗?

不可以,界面一次只允许为一个模型选择等级。你需要为每个想要配置的模型重复选择操作。这是为了保持界面简洁并防止意外批量更改。

支持哪些推理等级?

插件提供七个等级:off、minimal、low、medium、high、xhigh 和 max。`off` 禁用推理等级,其余对应不同程度的推理工作。具体行为取决于模型对这些等级的支持情况。

安装后需要重启 DSH Web UI 吗?

是的,安装或更新插件后,必须重启 DSH Web UI 以加载新的客户端包。安装脚本会启动默认的 `web` profile,除非你提供了 `--no-start` 或 `-NoStart` 标志。