任意第三方 OpenAI 兼容网关在 DeepSeek Harness 中开箱即用:思考强度自动测定 + 方言自动修复(附插件与增强 fork) #559
Menger-8
started this conversation in
Show and tell
Replies: 1 comment
|
你不说还真没有注意到,我自建中转的思考强度没有设置,不过主要是默认的感觉还能行 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
任意第三方 OpenAI 兼容网关在 DeepSeek Harness 中开箱即用:思考强度自动测定 + 方言自动修复(附插件与增强 fork)
TL;DR
接入任何第三方 OpenAI 兼容网关(火山方舟、各类中转、自建网关……)时,Harness 存在一类系统性坑:网关之间的方言差异(
developer/system角色、reasoning_effort方言、max_tokens字段、回放规则等 9 个 compat 开关)无法从私有 URL 推断,导致思考强度要么选不了、要么一开就 400。我实现了一套通用自动化:
reasoningEfforts与compat——新渠道开箱即出现思考强度档位,无需任何手写配置;dsh-plugin):按主机名钉住实测方言事实,已知网关零配置,任何人为任何网关贡献预设 = 一条数据 + 一次探测(附带tools/probe-gateway.ps1开源探测工具);feature/third-party-gateway-compat,已合入该 fork 的 master):compat 表面从 2 个开关扩展到 9 个 + 预设服务消费 + 上述自动探测。实测证据(火山方舟,2026-08-14)
reasoning_effort: high/max(OpenAI 与 DeepSeek 两种方言);developer系统角色(400)→ 预设自动钉住supportsDeveloperRole: false;为什么这是一般解,而非 Ark 补丁
期待反馈
tools/probe-gateway.ps1实测后提 issue 或贡献预设条目;All reactions