github pydantic/pydantic-ai v1.59.0
v1.59.0 (2026-02-13)

10 hours ago

What's Changed

🚀 Features

  • Add Model.model_id property that returns provider:model by @tdevelope in #3917
  • Add opt-in flag for aggregated usage attribute names by @thiagohora in #4277
  • Enhance Contains evaluator to support pydantic.BaseModel by @tomsquest in #4003
  • Vercel AI adapter: let BaseChunks be injected through ToolReturnPart.metadata by @0xyjk in #4230

🐛 Bug Fixes

  • XAI: lazily create AsyncClient per event loop to avoid gRPC loop mismatch by @DouweM in #4316

New Contributors

Full Changelog: v1.58.0...v1.59.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.