DeepSeek Harness 回退链插件
Visol-456/dsh-llm-fallback · 技能
DeepSeek Harness 回退链插件:主模型失败自动切换备用 provider,带 Web UI 配置面板
★ 5GitHub 星标
0分支
2026-08-15最近更新
TypeScript开发语言
MIT许可证
主要功能
- 每个挂载条目必须有 id。
- 链头就是请求本身(用户在 harness 首页聊天栏选的 provider/model,或部署默认值)。
- llm/fallback——每次切换时追加。
- 新增条目必须放在顶层 - insert列表里(参照 harness 的 examples/web-schedule/cordis.yml)。
- 裸条目列表会被静默拒绝报 patch: id is required for non-insert patches / entry "xxx" not found,而且 dsh web 启动不打印任何错误(只有一行 dsh web
使用条件
- 单一全局备用列表所有请求共享一个 fallbacks 列表
- 失败按实际服务的 (provider, model) 归因,一个 agent 的成功不会清除另一个 agent 的待定计数。
安装命令
dsh plugin --profile web add github:Visol-456/dsh-llm-fallback