QGG4588/dsh-model-failover ↗★ 0

dsh-model-failover

Model failover for DeepSeek Harness with a Web UI seat beside the composer model picker: pick one or more providers, pool = all models inside them; on request failure (RATE_LIMIT/QUOTA/TIMEOUT/...) auto-retry with the next untried model. Runtime tool model_failover (status/set/clear/enable/disable) plus an in-page panel. 适合对API稳定性要求高,需在遇到限流或超时时自动无缝切换模型的用户。

パッケージ
dsh-model-failover
互換性
未検証
バージョン
1.1.0
ライセンス
MIT
最終更新
2026/10/17

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:QGG4588/dsh-model-failover

ドキュメント

README 全文を読む ↗

配置(cordis.patch.yml 行 config,全部有默认值)

键默认说明
enabledtrue总开关
providers[]默认供应商池(按顺序);空 = 用 model_failover set 运行时设置
retryableCodesRATE_LIMIT, QUOTA, ACCOUNT_QUOTA, SERVER, TIMEOUT, TRANSPORT, EMPTY_RESPONSE, NO_ADAPTER触发转移的失败码
stickyfalse转移后粘滞该会话直到 clear;false = 仅当次故障内转移
maxFailoverAttempts0单次故障最多转移几个候选(0 = 整个池子)