github pydantic/pydantic-ai v2.31.0
v2.31.0 (2026-08-14)

7 hours ago

What's Changed

🚀 Features

  • Allow a UIEventStream to be built without a run_input, and give AGUIEventStream its own thread_id/run_id by @dsfaccini in #7292

🐛 Bug Fixes

  • Attribute failed FallbackModel spans to the failing model, not the fallback: wrapper by @strawgate in #7018
  • Pass openai through Temporal workflow sandboxes by @adtyavrdhn in #7464

New Contributors

Full Changelog: v2.30.0...v2.31.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.