dsh plugins中文
← Back to popular plugin directory

Dsh Model Failover

Letter2025/dsh-model-failover · model-adapters

Two-level model circuit breaker with failover for DeepSeek Harness: trip a model or a whole provider after repeated request failures and route the next request to a configured fallback.

★ 3GitHub stars
0Forks
2026-09-08Last updated
TypeScriptLanguage
MITLicense

Key features

  • Model circuit — a provider/model route opens after modelCircuitThreshold failures inside burstWindowMs.
  • Platform circuit — a provider opens when platformCircuitThreshold distinct models under it are open at once (a platform outage usually takes down every model on it).
  • Failover — the next request goes to the first healthy fallback in fallbacks
  • the switch is recorded by the loop itself (request/header change) and optionally announced as a user-visible message.
  • Recovery probes — an open model circuit is probed after modelCooldownMs with a tiny real call

Requirements

  • Process-local state — circuit state lives in memory and resets on plugin reload (like every harness registry).
  • Agent-loop calls only — agent/request covers the main conversation loop.

Install command

dsh plugin --profile web add github:Letter2025/dsh-model-failover
View GitHub repository ↗Back to popular plugin directory