dsh-model-channel-manager
模型渠道管理:多个供应商/模型候选共享一条虚拟路由(roundrobin/组),带失败转移、重试、超时与冷却;设置页签可编辑供应商与轮询组、跑测速与单模型真实请求测试,健康面板聚合七天延迟、失败与上游 token 用量(输入、输出、缓存、推理)。
Model channel manager: several provider/model candidates share one virtual route (roundrobin/<group>) with failover, retry, timeout and cooldown; a settings tab edits providers and groups, runs per-model speed tests and real single-model request tests, and a seven-day health panel aggregates latency, failures and upstream token usage (input, output, cache and reasoning).
怎么安装
dsh plugin add @arcaneorion/dsh-model-channel-manager 简介
@arcaneorion/dsh-model-channel-manager DSH 原生模型渠道管理。两半结构: **host 半** src/index.js:轮询故障转移引擎(llm.registerAdapter 虚拟路由 roundrobin/<组id>)+ 7 天健康流水 + 测速排序 + 单模型真实请求测试通道。 **client 半** src/client.js:conversation.view 顶级页签「模型配置」,内含三个子页:**模型配置**(llm-pi-ai providers 全字段编辑、拉取上游、单模型 ⚡ 测试、供应商搜索过滤)、**轮询渠道**(groups 编辑 + ⚡测速 + 输入模态编辑;**命名单一身份:显示名 = 组唯一 ID**,保存时归一化 virtualModel.name = id,改 ID 即改名,永不漂移)、**健康统计**(7 天聚合)。 **会话模型选择器已拆出**为独立 cordis client 插件 @arcaneorion/dsh-model-selector-search(一个占座者一个插件单元,可独立启停/替换;座位遮蔽 + 搜索 + 近 7 天置顶 + 菜单向上展开都在该仓)。 语义参考 pi 的 pi-provider-manager,但完全走 DSH 原生 seam(无独立 HTTP 服务/端口/to…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-15
- 创建于
- 2026-09-05
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- dsh-plugin
同类推荐
claude-code-router
musistudio/claude-code-router
每个AI代理的本地控制平面:跨模型路由、融合新能力、编排工具,并始终保持完全控制。
dsh-thinking-effort
hytime/dsh-thinking-effort
为 DSH 自定义模型配置思考档位和子 agent 默认思考强度。