Tools
Realtime tool failures in the Agents SDK were forwarding raw Python exception text to clients
openai-agents-python PR #5132 (merged 2026-09-21) redacts exception details from SDK-generated Realtime async tool failure events, which previously carried raw exception messages and could expose sensitive details in applications that forward session events to browsers. Both tool execution failures and cached-output delivery failures now emit fixed messages regardless of diagnostic logging settings, while original Python exception propagation, cancellation and cached-output retries are preserved. Provider error events and intentionally returned tool outputs are unchanged, so the blast radius is limited to the SDK's own error envelope.
Source
↳ Follow the thread