openai-agents-python/src/agents/extensions/models
Rohan Mehta e3698f32b1
Enable non-strict output types (#539)
See #528, some folks are having issues because their output types are
not strict-compatible.

My approach was:
1. Create `AgentOutputSchemaBase`, which represents the base methods for
an output type - the json schema + validation
2. Make the existing `AgentOutputSchema` subclass
`AgentOutputSchemaBase`
3. Allow users to pass a `AgentOutputSchemaBase` to
`Agent(output_type=...)`
2025-04-21 11:58:36 -04:00
..
__init__.py Litellm integration (#524) 2025-04-16 18:48:41 -04:00
litellm_model.py Enable non-strict output types (#539) 2025-04-21 11:58:36 -04:00