dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
DSH 升级后幂等重打的模型调优补丁:DeepSeek 推理拓宽为 7 档、workflow/ralph 默认模型 deepseek-v4-flash。Idempotent DSH model-tuning patch. | Platforms: macOS/Linux (Bash); Windows: Git Bash/WSL
中文 | English
一键重新应用 DeepSeek Harness 的「推理强度(reasoning effort)」补丁——自动探测 dsh 安装目录下所有适配器,按 provider 对齐各主流模型的真实档位(DSH 升级后运行一次即可)。补丁幂等:目标已满足预期则跳过,未满足则应用。
脚本启动时自动探测 dsh 安装目录下所有 dsh-llm-* 适配器,按 provider 类型分派「真实档位对齐」:
off / low / high / max
(有效 effort 仅 low/high/max 三档,medium/xhigh 后端并到 high,off 关闭思考)。
新版 dsh 已原生支持则跳过;旧版只有 off/high/max 则补齐 low。off/minimal/low/medium/high/xhigh/max,见其 THINKING_LEVELS)。
各模型可选档位由模型配置的 reasoningEfforts 声明决定,无需改代码,跳过。说明:DSH 的主流模型(OpenAI / Claude / Gemini / Qwen 等)经 pi-ai 网关,档位已为官方全集;唯一确定需代码层对齐的是
dsh-llm-deepseek。脚本泛化为「探测所有适配器」,便于未来安装独立 provider 适配器时也能自动对齐。各主流模型 reasoning 等级完整对照见 REASONING_LEVELS.md。
# 方式一:git clone(推荐)
git clone https://github.com/TOBYCAI/dsh-patch-reasoning.git
cd dsh-patch-reasoning
# 方式二:从 Releases 下载源码包
# https://github.com/TOBYCAI/dsh-patch-reasoning/releases
脚本为单文件 dsh-patch-reasoning.sh,无需安装依赖。
# 直接运行仓库里的脚本(先按「获取」clone / 下载)
bash dsh-patch-reasoning.sh
# 或放到 DSH 的 bin 目录后运行
bash ~/.dsh/bin/dsh-patch-reasoning.sh
运行脚本即应用上述 reasoning 补丁,幂等可重复运行。
MIT © TOBYCAI