返回全部动态

PydanticAI v2.32.2 发布:多项 bug 修复

原标题:v2.32.2 (2026-08-20)

PydanticAI Releases一手来源产品发布质量 67

AI 摘要

PydanticAI 发布了 v2.32.2 版本,主要包含多项 bug 修复:修复了 pydantic_evals 任务中异步可调用实例的等待问题、实时会话中 RunContext.cancel() 的问题、识别 m.youtube.com 的 VideoUrl、规范化 DeepSeek Responses 函数调用重放,以及让废弃的 TemporalAgent 在遇到 UnexpectedModelBehavior 和 FallbackExceptionGroup 时失败。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * Await async callable instances in `pydantic_evals` tasks and the `evaluate` decorator by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7535 * Fix `RunContext.cancel()` in realtime sessions by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/7528 * Recognize `m.youtube.com` URLs in `VideoUrl` by @uczltw6 in https://github.com/pydantic/pydantic-ai/pull


发布时间:2026-08-21 10:56
抓取时间:2026-08-21 11:58
来源机构:Pydantic
阅读原文github.com