v2.50.0 v2.51.0
medium risk
pydantic/pydantic-aiSep 25, 2026 → Sep 25, 20261 day between releases
What's New
Adds OpenAI GPT-Live support and agent graph caching for performance.
Breaking Changes
- Match dated gemini-3.8-live ids and reject google_affective_dialog on specific versions
- Raise UserError for realtime tool_choice that forces a tool call
New Features
- Added OpenAILiveModel support
- Added context_window_used exposure on realtime sessions
- Added RealtimeSessionErrorEvent for failed OpenAI realtime responses
Improvements
- Cache the agent graph to avoid rebuilding on every Agent.run()
- Reduce RunContext copying overhead in capability hooks
Bug Fixes
- Keep provider_details on OpenAI Realtime tool-call responses
- Buffer text deltas in CompletedStreamedResponse replay
- Resend a recent image with a typed Gemini Live turn
Upgrade Notes
Watch for stricter validation on `gemini-3.8-live` IDs and a new `UserError` when `tool_choice` forces a tool call in realtime sessions.
The Two Releases
v2.50.0
v2.50.0 (2026-09-24)
Sep 25, 2026· 27 days ago
The release introduces the `DecisionModel` protocol for routing and expands real-time support for Gemini 3.8, while also exposing OpenAI service tiers and adding durable context detection.
Full release notesv2.51.0
v2.51.0 (2026-09-25)
Sep 25, 2026· 26 days ago
Focuses on performance improvements, such as caching the agent graph and reducing overhead, while adding support for OpenAI GPT-Live and refining error handling for real-time sessions.
Full release notes