github pydantic/pydantic-ai v1.75.0
v1.75.0 (2026-03-31)

2 hours ago

What's Changed

🚀 Features

  • Feat(embeddings): types and limits for gemini-embedding-2-preview by @yorickvP in #4874
  • Implement support for Flex PayGo with VertexAI by @ewjoachim in #4312

🐛 Bug Fixes

  • Stop stripping TTL from cache control for Bedrock clients by @fuyi in #4915
  • fix: handle DataUIPart in Vercel AI adapter user message processing (#4704) by @sudo-nick in #4712
  • fix: count only leading system messages when inserting instructions by @sztoplover-bit in #4833
  • fix: consistent error handling between run_sync and run_stream for invalid output tool calls by @Spectual in #4860
  • fix(openrouter): handle null top-level fields when response is nested in provider field by @adityasingh2400 in #4528

New Contributors

Full Changelog: v1.74.0...v1.75.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.