v2.48.0 v2.49.0

low risk

pydantic/pydantic-aiSep 23, 2026 → Sep 24, 20261 day between releases

What's New

Adds RealtimeSession.wait_for_reply(), Bedrock support, and TypeSafeModel enhancements.

New Features

  • Added RealtimeSession.wait_for_reply() for better real-time interaction handling.
  • Added BoolCriteria to define yes/no meanings for boolean fields and enums.
  • Added GitHubCopilotOAuthFlow for device authorization.
  • Added support for gpt-6-astra on Bedrock Converse.
  • Forwarded gs:// references as fileData in GoogleImageGenerationModel.

Improvements

  • TypeSafeModel now uses user input for the 'none of these' option.
  • TypeSafeModel now offers whole numbers as Choice options.
  • OpenAI logprobs are now preserved in provider_details['logprobs'].
  • Cloud Storage gs:// references are forwarded correctly as fileData.

Bug Fixes

  • Fixed google_proactive_audio which prevented Gemini Live sessions from connecting.
  • Fixed preservation of fanned producer contributions in graph joins.
  • Fixed surface of @GraphBuilder.stream node errors during graph.iter().
  • Fixed message ID preservation in Vercel AI and AG-UI adapters.

Upgrade Notes

No configuration changes are required. The new models and methods are additive and optional. Existing code will continue to function without modification.

The Two Releases

v2.48.0

v2.48.0 (2026-09-22)

Sep 23, 2026· 29 days ago

This release introduces support for Claude Opus 5.5 and new OpenAI models, alongside an update to the genai-prices library. It also includes bug fixes to preserve message IDs across Vercel AI and AG-UI adapters.

Full release notes
v2.49.0

v2.49.0 (2026-09-23)

Sep 24, 2026· 28 days ago

This release enhances TypeSafeModel with new criteria and introduces `RealtimeSession.wait_for_reply()`, alongside support for new GPT models on Bedrock and improved handling of Google Cloud Storage references.

Full release notes