dsh-model-failover

模型接力路由器:把已接入 DSH 的全部模型排成优先级模板,失败时先原地重试再换下一个模型,限流只短暂冷却,故障按会话隔离,整轮失败或撞到 token 上限时自动补发「继续」。

插件介绍

模型接力路由器:把已接入 DSH 的全部模型排成优先级模板,失败时先原地重试再换下一个模型,限流只短暂冷却,故障按会话隔离,整轮失败或撞到 token 上限时自动补发「继续」。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:MaiMai0812/dsh-model-failover

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。