Agents
pydantic-ai 2.46.0 lets TypeSafeModel fill tool arguments and finally prices realtime voice sessions
Released 2026-09-19, v2.46.0 extends TypeSafeModel to fill a tool's arguments when Jev can express them and to satisfy a union of output types by choosing the type first, adds typesafe_boolean_threshold to control how confident a yes/no has to be before it returns True, and refuses more options than Jev can pick from. On the realtime side it adds RealtimeSession.wait_for_playback() and prices realtime responses so usage.cost and UsageLimits.cost_limit actually work inside a voice session, plus a fix keeping a tool call and its speech in one ModelResponse. Temporal durability gains event_stream_topic for streaming agent events through Workflow Streams.
↳ Follow the thread