New
v1.52.0 (2026-02-02)
What's Changed
๐ Features
- Add
openai_storesetting to control data retention by @EliMeed in https://github.com/pydantic/pydantic-ai/pull/4142 - Add number of output validation retries to agent's run context by @coccoinomane in https://github.com/pydantic/pydantic-ai/pull/4084
- Have
OpenAIChatModelsend back reasoning content via field it's received in by @safina57 in https://github.com/pydantic/pydantic-ai/pull/4009
๐ Bug Fixes
- Fix compatibility with Vercel AI SDK v5 by adding SDK version param by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4166
- Handle non-primitive types in
BaseModelinformat_as_xmlby @bohdanhr in https://github.com/pydantic/pydantic-ai/pull/4131
New Contributors
- @EliMeed made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4142
- @bohdanhr made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4131
- @coccoinomane made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4084
Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v1.51.0...v1.52.0