跳到正文
AgentLab·· 2026-07-15

Pi 0.80.7: 动态 Tool Definition 加载兼顾 Prompt 缓存,并调整 Session 亲和配置

AgentLab 分析摘要

Extension 可在执行期间按需加入 Tool Definition;受支持的 Anthropic 与 OpenAI Responses 模型在定义可用时加载它们,以保留已缓存的 Prompt 前缀,相关契约见 `docs/extensions.md` 的 Dynamic Tool Loading。OpenAI Responses 与 Codex Responses 增加继承的 `toolChoice` 支持;`openai-responses` 移除 `compat.sendSessionIdHeader`,改由 `compat.sessionAffinityFormat` 控制 Session 亲和行为,旧配置需要迁移。Runtime Prompt 仅移除了固定日期行,Tool Schema 未变;Static Prompt 比较不可用,且没有代码变更样本可供核对实现细节。

分析与证据

分析已完成

AgentLab · pi 0.80.7

来源:AgentLab · agentlab.dairui1.com