github pydantic/pydantic-ai v1.73.0
v1.73.0 (2026-03-26)

7 hours ago

What's Changed

🚀 Features

  • feat: add CaseLifecycle hooks to Dataset.evaluate by @dmontagu in #4854
  • Allow hooks to raise ModelRetry for retry control flow by @DouweM in #4858
  • Allow before/wrap model request hooks to swap the model via ModelRequestContext by @DouweM in #4855

🐛 Bug Fixes

  • fix: xAI provider_fallback changed to x-ai matching genai-prices by @adtyavrdhn in #4789
  • Fix capability schema generation to include full parameter types by @DouweM in #4867

📦 Dependencies

Full Changelog: v1.72.0...v1.73.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.