llm-fallback
适用于 DeepSeek Harness 中同名模型的备用服务商多级容灾切换插件。
AI 分析
核心用途是为核心模型配置多服务商备用链。适合对 API 稳定性要求极高、需要在主服务商故障时自动无缝切换的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CanGeng/llm-fallback说明文档
阅读完整 README ↗Configuration
See cordis.patch.yml. The pools list maps a model id to its ordered
provider chain. The config is validated when the plugin loads: an unknown
alwaysPolicy, a pool without a non-empty model, or a pool whose providers
is not an array throws immediately instead of failing silently later.
config:
alwaysPolicy: reject
alwaysMaxRetries: 2
pools:
- model: deepseek-v4-pro
providers: [deepseek-official, ark-coding, ark-agent]