OpenAI released version 0.19.4 of the openai-agents-python SDK, addressing several bugs in tool handling, sandboxing, and session management.

  • Preserve completed tool guardrail results and defer non-stream session saves until output guardrails.
  • Redact invalid tool argument errors and surface non-streaming content-filter refusals.
  • Enforce token output budgets in the sandbox and single-flight cached dependency factories.
  • Honor resolved status before policy checks and cancel sibling work after concurrent failures.
  • Clean up failed realtime connection attempts and mark non-streaming agent span failures in tracing.
  • Enforce closed state in MongoDBSession, preserve repeated history provenance, and reject reused branch IDs.

These changes improve reliability for agents using tool guardrails, sandboxed environments, and persistent sessions.