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=...)` |
||
|---|---|---|
| .. | ||
| agent_patterns | ||
| basic | ||
| customer_service | ||
| financial_research_agent | ||
| handoffs | ||
| mcp | ||
| model_providers | ||
| research_bot | ||
| tools | ||
| voice | ||
| __init__.py | ||