返回全部动态
PydanticAI v2.55.0 发布:要求 Python 3.11+,新增图像输入后端与对话对象
原标题:v2.55.0 (2026-10-09)
AI 摘要
PydanticAI 发布 v2.55.0,要求所有包使用 Python 3.11 或更新版本,Python 3.10 用户将回退到 2.54.0 及更早版本。该版本新增 OpenAIDecisionsModel 后端(支持图像输入)、Conversation 对象用于跨运行保存对话,并默认启用 Anthropic 提示缓存、记录提示缓存诊断信息。此外还改进了 clai2 命令行工具、持久化执行、实时音频保留和可观测性等多项功能。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### ⚠️ Compatibility Notes * Require Python 3.11 or newer in every package; Python 3.10 installs resolve to 2.54.0 and earlier by @Kludex in https://github.com/pydantic/pydantic-ai/pull/9526 * Record the tool requests of `ExaSearch`, `YouSearch`, `LocalStack` and other harness capabilities under durable execution by @DouweM in https://github.com/pydantic/pydantic-ai/pull/9705 * Bound retained r
发布时间:2026-10-10 03:20
抓取时间:2026-10-10 03:21
来源机构:Pydantic