github pydantic/pydantic-ai v1.50.0
v1.50.0 (2026-01-29)

latest releases: v1.61.0, v1.60.0, v1.59.0...
19 days ago

What's Changed

🚀 Features

  • Expose usage_limits and model_settings to users running with to_cli() by @tommy-waltmann in #4133
  • Add setting to include OpenAI raw text annotations in TextPart.provider_details by @corytomlinson in #3787

🐛 Bug Fixes

  • Fix serialization of BinaryContent returned by tool in Temporal by @dsfaccini in #4043
  • Fix serialization of DocumentUrl with custom media_type in Temporal by @dsfaccini in #3968
  • Retry instead of raising error when Google returns 0 candidates by @wassafshahzad in #4125
  • Correct OpenAI prompt_cache_retention literal from 'in-memory' to 'in_memory' by @davidfertube in #4126

New Contributors

Full Changelog: v1.49.0...v1.50.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.