DeepSeek Harness Hub
← 返回列表

中转站思考与 Fast 开关Rock-ql/dsh-relay-fast

DeepSeek Harnessspec-screened在 GitHub 查看 ↗
未验证

自动补全思考等级并同步模型,按能力开启 Fast

尚未跑自动兼容性验证,可查看页面内的依赖与入口分析。 · 最近上游提交 2026/8/25 · 已提供中文文档

DSH relay plugin: reasoning-effort autofill, /models sync, capability-aware Fast toggle | DSH 中转站思考等级与 Fast 开关插件

综合分
28.5
GitHub 分
28.5
用户评分
★ Stars
1
周下载量
安装插件(需先安装 dsh CLI 引擎:npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add Rock-ql/dsh-relay-fast
该插件未发布到 npm,走 GitHub 源安装(pnpm 若拦截 prepare 脚本,按其提示在 pnpm-workspace.yaml 的 allowBuilds 中放行后重跑)
数据截至 2026/9/16(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动

README

dsh-relay-fast

中文 · English

中文

面向 DeepSeek Harness(DSH)Desktop/Web 的中转站增强插件。

功能

- 思考等级自动补全:为 llm-pi-ai 新增模型补上 reasoningEfforts;兼容 openai-completions 与 anthropic-messages,不覆盖已有声明。
- 模型同步:在设置页从中转站 /models 同步缺失模型。
- 动态 Fast 开关:仅在端点明确声明 Fast,或用户通过 fastModels 显式启用时显示;开启后发送 service_tier: "priority"。

安装

dsh plugin --profile desktop add github:Rock-ql/dsh-relay-fast

安装后重启 DSH Desktop。Web profile 可将 desktop 替换为对应 profile 名称。

可选配置

在 profile 的 cordis.patch.yml 中覆盖插件配置:

- id: relay-fast
config:
autofill: true
fastTier: priority
fastModels:
- gpt-5*          # 所有中转渠道的 GPT-5 模型
defaultSpeed: fast  # 新会话默认 Fast;仍可手动切回 Standard

不配置 fastModels 时,插件只相信中转站 /models 返回的明确 Fast 能力元数据,不按模型名称猜测。

注意:开关能保证发送 service_tier: priority,但中转站可能忽略该字段。真实加速能力取决于上游。测试记录见 docs。

开发

pnpm install
pnpm check

English

A relay enhancement plugin for DeepSeek Harness (DSH) Desktop/Web.

Features

- Reasoning-effort autofill: adds missing reasoningEfforts to new llm-pi-ai models. It is protocol-aware for openai-completions and anthropic-messages, and never overwrites existing declarations.
- Model sync: imports missing models from a relay's /models endpoint in Settings.
- Dynamic Fast toggle: appears only when the endpoint explicitly advertises Fast, or when enabled through fastModels. Fast requests send service_tier: "priority".

Install

dsh plugin --profile desktop add github:Rock-ql/dsh-relay-fast

Restart DSH Desktop after installation. For Web, replace desktop with the target profile name.

Optional configuration

Override the plugin in the profile's cordis.patch.yml:

- id: relay-fast
config:
autofill: true
fastTier: priority
fastModels:
- gpt-5*          # GPT-5 models on every relay route
defaultSpeed: fast  # Fast by default; users can switch to Standard

Without fastModels, the plugin trusts only explicit Fast metadata returned by /models; it never guesses from model names.

The toggle guarantees that service_tier: priority is sent, but a relay may ignore it. Actual acceleration depends on the upstream service. See docs for test reports.

Development

pnpm install
pnpm check

License

MIT

上游仓库有新提交时邮件通知你(每天最多一封,无更新不打扰),随时一键退订。

💬 加入 DPharness 群聊

插件用法、部署报错、新插件第一时间同步——群里问,比一个人翻文档快。

点击加入 QQ 群
DPharness 群聊二维码,手机 QQ 扫码进群
扫码进群