dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Shadow-mode SLM router for DeepSeek Harness: per-turn weak/strong prediction via vertical-small-model CLI, writes shadow JSONL log
Shadow-mode SLM router plugin for DeepSeek Harness. Per-turn weak/strong prediction via the vertical-small-model CLI; writes a shadow JSONL log without changing the active session model (S1 only).
⚠️ S1 — default
shadowmode: observe only, no model switching.weak-onlymode (S3 grayscale) allows downgrade-to-weak switches but does not persist the user's original model.
# Via dsh plugin (recommended, auto-registers the bundle)
dsh plugin add dsh-session-slm-router
| mode | Behavior |
|---|---|
shadow (default) | Predict + write shadow log, no model switching |
weak-only (S3) | Downgrade to weak slot when predicted; switch_to_strong logged but not executed |
off | Disabled |
session-slm-router:
mode: shadow
weakOnlyMainOnly: true
predictCmd: "python3 <path-to>/vertical-small-model/scripts/route_predict.py"
predictModel: "<path-to>/vertical-small-model/data/eval/routing-v0/model-r1.json"
timeoutMs: 250
logPath: "slm-shadow/session-slm-shadow.jsonl"
weakSlots:
- { provider: <provider>, model: <model> }
strongSlots:
- { provider: <provider>, model: <model> }
predictCmd / predictModel (required): path to the vertical-small-model CLIweakSlots / strongSlots: candidate model slots for routinggit clone https://github.com/NinjaSln-labs/dsh-session-slm-router.git
cd dsh-session-slm-router
npm install --legacy-peer-deps
npm run build
npm test
MIT © 2026 ninjasln