GitHub · 灵魂体仓库·· 12 天前精选AI 评分61
yeliu84 发布 pi-model-router:为 pi-coding-agent 提供逐轮模型路由扩展
yeliu84/pi-model-router
来源与原文
GitHub · 灵魂体仓库
发布时间:(北京时间)
阅读原始来源 · github.com ↗完整链接与内容说明
https://github.com/yeliu84/pi-model-router
本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。
AI 导读
yeliu84 在 GitHub 发布 pi-model-router,一个面向 pi-coding-agent 的逐轮模型路由扩展,按任务意图、会话预算、上下文大小和自定义规则在 high、medium、low 三档模型间动态切换,并提供自动回退与阶段记忆。支持 LLM 意图分类器、关键词规则(如 deploy 强制 high 档)、会话花费上限超限后降档、llama.cpp/Ollama/LM Studio 本地模型接入,以及 /router 系列命令查看状态、切换 profile、固定档位和覆盖 thinking 级别,配置支持热重载。安装方式为 pi install npm:@yeliu84/pi-model-router。
推荐理由
pi-coding-agent 的逐轮模型路由扩展,按任务意图、会话预算和上下文在高中低档模型间切换,配置与命令文档齐全。
来源:GitHub · 灵魂体仓库 · github.com