BruceLanLan/dsh-tier-router
BruceLanLan★ 0JavaScript最后同步: 2026-08-16
—
README 摘要
dsh-tier-router — Tiered model routing for DeepSeek Harness Routes model steps by task difficulty: a strong tier (deepseek-v4-pro by default) handles planning / architecture / review , while a cheap tier (deepseek-v4-flash by default) handles day-to-day implementation . Inspired by Claude Code's /advisor (consult a stronger model for hard decisions) and opusplan (strong model in plan mode, cheap model for execution), implemented on DeepSeek Harness through its official seams, with an escalation gate, failure auto-escalation, and subagent tiering on top. English · 中文 How it works Features - Automatic tiered routing (auto mode, opusplan-style) : steps run on the strong tier while plan mode is active and on the cheap tier during execution. Main sessions are routed by writing the session request/header (the official seam the api-proxy selection layer reads, as community plugins like dsh-model-router do); subagents are switched per step at the agent/request waterfall. - Per-session scoping : /tier strong cheap auto off affects only the current session ; other sessions in the process keep their own tier (global default auto ). Sessions that should not be managed can opt out with a single…
在 GitHub 查看完整 README →