python OpenAI Agents SDK (Python) Releases · · 0.17.8

OpenAI Agents Python Library v0.17.8: Enhancements and Fixes

sdkaiengineerpython-agentic
patch

This release of the OpenAI Agents Python library, version 0.17.8, includes several bug fixes and minor enhancements. Key changes focus on improving error handling, ensuring proper log redaction, and refining validation logic. These updates are relevant for developers using the library for agent-based applications and are available immediately as a patch release.

  • Add invalid final output recovery handler
  • Propagate realtime session iterator cancellation
  • Redact realtime validation failure logs
  • Preserve non-dict Mapping values in _to_dump_compatible
  • Escape quotes and backslashes in DOT names for visualization
Features (1)
  • Add invalid final output recovery handler

    A new handler has been added to manage and recover from invalid final outputs generated by the agents.

Fixes (5)
  • Propagate realtime session iterator cancellation

    Cancellation signals are now correctly propagated through realtime session iterators, improving resource management.

  • Redact realtime validation failure logs

    Logs related to realtime validation failures are now redacted to prevent sensitive information leakage.

  • Preserve non-dict Mapping values in _to_dump_compatible

    Ensures that non-dictionary Mapping values are correctly preserved when converting objects for dumping.

  • Escape quotes and backslashes in DOT names for visualization

    Special characters like quotes and backslashes in DOT names are now properly escaped for accurate visualization.

  • Enforce strict Pydantic validation with strict_json_schema and handoffs

    Strict Pydantic validation is now enforced when both `strict_json_schema=True` and handoffs are used.

Read the original announcement →

https://github.com/openai/openai-agents-python/releases/tag/v0.17.8

Related releases