Commit graph

3 commits

Author SHA1 Message Date
pakrym-oai
0cf503e1c2
Allow replacing AgentRunner and TraceProvider (#720) 2025-06-17 17:41:10 -07:00
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
Rohan Mehta
aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00