v1.85.1
pydantic/pydantic-aiv1.85.1Apr 21, 2026by DouweM
AI Summary
This release focuses on bug fixes, specifically improving error messaging and tool approval detection in Vercel AI integrations. It addresses issues related to validation error inclusion in retry messages and the state of deferred tool approvals.
Key Highlights
- Exclude validation error `input` from retry messages
- Auto-detect deferred tool approval state in Vercel AI `dump_messages()`
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * fix: exclude validation error `input` from retry messages by @navalprakhar in https://github.com/pydantic/pydantic-ai/pull/4947 * fix(vercel-ai): auto-detect deferred tool approval state in `dump_messages()` by @tijmenhammer in https://github.com/pydantic/pydantic-ai/pull/4831 ## New Contributors * @abhicris made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5149 * @navalprakhar made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4947 * @tijmenhammer made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4831 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.85.0...v1.85.1