Pydantic-AI v2.32.2 Delivers Critical Bug Fixes
Pydantic-AI version 2.32.2 has been released, focusing entirely on bug fixes to enhance stability and reliability. Key improvements address issues with asynchronous callable instances in `pydantic_evals` tasks and the `evaluate` decorator, alongside resolving a problem with `RunContext.cancel()` in realtime sessions. Additionally, this patch ensures proper recognition of `m.youtube.com` URLs in `VideoUrl` and standardizes DeepSeek Responses function-call replay, benefiting developers working with AI agents and model evaluation workflows.
- →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/7592
- →Normalize DeepSeek Responses function-call replay by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/7448
Fixes (5) ›
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/7592
- Normalize DeepSeek Responses function-call replay by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/7448
Fail the workflow on UnexpectedModelBehavior and FallbackExceptionGroup under the deprecated TemporalAgent by @aviseth in https://github.com/pydantic/pydantic-ai/pull/7465
https://github.com/pydantic/pydantic-ai/releases/tag/v2.32.2
Related releases
- Pydantic AI v2.34.0 Introduces LangChain Migration and GLM-5.3 Model Support Pydantic AI Releases ·
- pydantic-ai v2.33.0 Enhances Anthropic SDK Compatibility, Resolves Runtime Issues Pydantic AI Releases ·
- Pydantic-AI v2.32.1 Patch Addresses Agent Execution and Anthropic Integration Bugs Pydantic AI Releases ·
- crewAI 1.15.17 Enhances Conversational Flows and Resolves Tooling Issues CrewAI Releases ·
- LangGraph Python SDK 0.4.3 Adds Decryption Feature and Fixes Cron Management LangGraph Releases ·
- OpenAI Python Agents v0.22.0 Enhances Runtime Hardening and Configuration Validation OpenAI Agents SDK (Python) Releases ·