Skip to content

Handoff breaking changes in v0.6.0 break compatibility with non-OpenAI models #2349

Description

@dast-draftwise

Hi,

I recently upgraded openai-agents from a version prior to v0.6.0 to the latest release and ran into issues caused by the handoff breaking changes introduced here:
https://github.com/openai/openai-agents-python/releases/tag/v0.6.0

While the new handoff mechanism works well with OpenAI models that are aware of and can properly interpret handoffs, it breaks existing agent workflows when using non-OpenAI models (e.g., Claude). These models don’t natively understand the new handoff semantics, which means handoffs no longer work without a manual workaround.

Is there any plan to support:

  • an opt-in flag, compatibility mode, or alternative API that preserves the pre-0.6.0 handoff behavior for non-OpenAI models, or
  • a first-class abstraction that allows non-OpenAI models to participate in handoffs without requiring manual intervention?

Without this, the handoff feature effectively becomes OpenAI-model-only, which makes it difficult to maintain multi-model agent workflows and gives the impression that non-OpenAI support may gradually degrade over time.

I’d appreciate clarification on the intended direction here and whether backward-compatible or model-agnostic handoff support is something you’re considering.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions