github pydantic/pydantic-ai v2.24.0
v2.24.0 (2026-08-04)

4 hours ago

What's Changed

🐛 Bug Fixes

  • Fix Google provider dropping an explicit timeout=0 by @pydanty[bot] in #7114
  • Filter unavailable names from Google allowed_function_names by @LHMQ878 in #6875
  • Preserve caller-owned OpenAI model settings by @LHMQ878 in #6870
  • Send top_p=0.0 to Bedrock by @LHMQ878 in #6864
  • Honour ignore_streamed_leading_whitespace in Bedrock streams by @LHMQ878 in #6828
  • Recognise kimi-k2-thinking and Heroku's kimi-k2-5 as Kimi reasoning models by @LHMQ878 in #6823
  • Raise a UserError when an OpenRouter model omits its provider prefix by @LHMQ878 in #6860
  • Recognise Groq groq/compound model names by @LHMQ878 in #6825
  • Make Vercel AI ToolApprovalResponded.approved a StrictBool by @dsfaccini in #6995
  • Guard against negative Retry-After integer values in wait_retry_after by @pydanty[bot] in #7066
  • Skip inbound AG-UI content newer than the installed ag-ui-protocol instead of returning 422 by @dsfaccini in #7119
  • Preserve stream part indexes during apply_event replay by @dsfaccini in #7138

New Contributors

Full Changelog: v2.23.0...v2.24.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.