Kachchi3739/dsh-fallback ↗★ 0

dsh-fallback

Transparent router fallback and pooled opencode-go API accounts for DeepSeek Harness: when the active router's quota is exhausted, the same request continues on the next connected router, and several keys of one router are rotated per request (DSH-wide, even without fallback). Works in dsh-desktop.

パッケージ
dsh-fallback
互換性
未検証
バージョン
1.3.1
ライセンス
MIT
最終更新
2026/11/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Kachchi3739/dsh-fallback

ドキュメント

README 全文を読む ↗

Configuration

The bundle row's config is the deployment default (empty chain, quota codes, 3 attempts). Everything edited from the panel is stored as overrides in the profile's state file so the user's cordis.patch.yml is never rewritten:

/fallback/state.json          # e.g. C:\Users\\.dsh\fallback\state.json

The file contains provider/model ids, failure codes and timings — no credentials. Deleting it resets the chain and all counters; a malformed or missing file simply falls back to the bundle defaults.

SettingDefaultMeaning
Enable router fallbackonOff disables the chain; pooled accounts still rotate.
Fallback chainemptyOrdered routers; first ready one answers.
Account usagerotate per requestHow pooled keys are chosen: rotate, sticky per session, or priority/failover.
Trigger codesQUOTA, ACCOUNT_QUOTA, RATE_LIMITFailures that move the request to the next router.
Max attempts per request3Hard cap including the selected router.
Quota/balance skip30 minCooldown after QUOTA/ACCOUNT_QUOTA, unless the provider reports retry-after.
Rate-limit skip60 sCooldown after RATE_LIMIT.