pi 1.6.1 扩展 codemode 决策模型并修复会话与工具可靠性
pi 1.6.1 让 codemode models.classify() 可调用 GitHub Copilot 的 gpt-6-luna-decisions 和 Radius 决策模型,并在结果中返回 responseId;OpenRouter System One 会填入 generation ID,并用实际计费成本替代目录估算。更新拆分通知设置、扩展 Gemini 严格工具与提供商错误钩子,同时修复大型会话加载、Windows 子进程退出、MCP 请求和多项模型兼容问题。
- codemode models.classify() 新增 GitHub Copilot gpt-6-luna-decisions 与 Radius 决策模型,结果包含 responseId。
- OpenRouter System One 将 responseId 填为 generation ID,并以实际计费成本替换目录估算。
- showCacheMissNotices 拆分为 notices.cacheMisses、notices.cacheWarming、notices.compactionCosts 和 notices.reasoningDrops;旧 getter/setter 移除,改用 getNotices() 和 setNotice()。
- 为 google-generative-ai 和 google-vertex 模型增加 compat.supportsStrictMode,并修复带 vendor 前缀的 Gemini 3+ 模型的严格工具、tool-call ID 和函数响应图片支持。
- after_provider_response 现覆盖 HTTP 4xx/5xx 响应和每次重试,并扩展到 OpenAI、Azure OpenAI、Anthropic 与 Google 模型。
- 关键修复覆盖约 120k 条及以上 compaction 后记录的会话加载、Windows SIGHUP/taskkill、MCP 字符串请求 ID 与大型事件、GPT-6.2 prefix_mismatch 和临时提供商错误重试。
新功能API兼容性关键修复
原始依据 · 2026-11-25 21时
Pi Agent Harness Releases ↗依据原始文字内容入选理由
决策模型调用、计费口径和扩展 API 的变化直接影响自动化工作流;会话、Windows 和 MCP 修复则消除阻断性故障。