Skip to content

'AgentOutputSchema' object has no attribute '__mro__' #597

Closed
@RoniFinTech

Description

@RoniFinTech

@x0day and @domino14 both your requests are now possible. See an example here for each:

https://github.com/openai/openai-agents-python/blob/main/examples/basic/non_strict_output_type.py

Originally posted by @rm-openai in #528

The above helped get past the Dict[str,any] issue, but now I'm seeing this error:
'AgentOutputSchema' object has no attribute 'mro'

I've tried downgrading/upgrading versions but no help.

I'm on pydantic 2.11.3
openai-agent 0.0.13

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions