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
One-command re-application of the DeepSeek Harness "reasoning effort" patch — auto-detects every adapter under your dsh install and aligns each provider's real reasoning levels (run once after a DSH upgrade). The patch is idempotent: it skips a target that already meets the expectation, and applies it otherwise.
On startup the script auto-detects every dsh-llm-* adapter under your dsh install and dispatches a "real-level alignment" patch by provider type:
off / low / high / max
(only low/high/max are effective — medium and xhigh are folded into high; off disables thinking).
Skips if a new dsh adapter already supports off/low/high/max; adds low on an old adapter with only off/high/max.off/minimal/low/medium/high/xhigh/max, see its THINKING_LEVELS).
Each model's selectable levels are decided by the model config's reasoningEfforts declaration, so no code patch is needed — skipped.Note: DSH's mainstream models (OpenAI / Claude / Gemini / Qwen, etc.) go through the pi-ai gateway and already expose the official full level set; the only provider that definitively needs code-level alignment is
dsh-llm-deepseek. The script is generalized to "detect all adapters" so future standalone provider adapters also get aligned automatically. The full per-model reasoning-level reference is in REASONING_LEVELS.md.
# Option 1: git clone (recommended)
git clone https://github.com/TOBYCAI/dsh-patch-reasoning.git
cd dsh-patch-reasoning
# Option 2: download the source zip from Releases
# https://github.com/TOBYCAI/dsh-patch-reasoning/releases
The script is a single file dsh-patch-reasoning.sh with no external dependencies.
# Run the script directly from the cloned repo (see "Get it" above)
bash dsh-patch-reasoning.sh
# Or run it from DSH's bin directory after placing it there
bash ~/.dsh/bin/dsh-patch-reasoning.sh
Running the script applies the reasoning patch above; it is idempotent and safe to re-run.
MIT © TOBYCAI