github pydantic/pydantic-ai v2.1.1
v2.1.1 (2026-06-29)

3 hours ago

What's Changed

📖 Documentation

🐛 Bug Fixes

  • Forward image detail from vendor_metadata for GroqModel and MistralModel by @pydanty[bot] in #6014
  • fix(utils): run sync callbacks inline on Pyodide/emscripten by default by @syf2211 in #6088
  • Fix group_by_temporal emitting first item alone when delayed past soft_max_interval by @pydanty[bot] in #5947
  • Fix missing output_audio_tokens in usage accumulation by @jnMetaCode in #4594
  • fix(heroku): route model names through family profiles so thinking isn't dropped by @Bartok9 in #6070
  • Guard TogetherProvider.model_profile against model names without a / by @immuhammadfurqan in #6113
  • fix(GoogleModel): include CodeExecutionTool in include_server_side_tool_invocations check by @aarsh767 in #6052
  • fix(groq): surface reasoning_tokens in usage details by @tcconnally in #5986

New Contributors

Full Changelog: v2.1.0...v2.1.1

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.