OpenAI released version 0.17.8 of the openai-agents-python library, introducing new features for handling agent outputs and several bug fixes.
- Added an invalid final output recovery handler to manage failed agent executions.
- Enforced strict Pydantic validation when using strict_json_schema=True with handoffs.
- Fixed propagation of realtime session iterator cancellation.
- Redacted validation failure logs in the realtime module for improved security.
- Preserved non-dict Mapping values in _to_dump_compatible and escaped quotes in DOT names.
This release improves reliability in sandboxed environments and ensures stricter data validation for agent handoffs.