library · inferred from evidence
BaseModel
A base class provided by Pydantic for defining data models.
- `@weave.type()` does not work with pydantic `BaseModel`
If Weave throws a 500 ('too many values to unpack') when tracing a function that takes a nested pydantic model, check whether one of the fields is called 'name'. The maintainers confirmed 'name' is reserved and used to build internal weave-
- Not able of making tool calls and response format at the same time
Use this workaround on the Agno model config. It forces JSON text output that Agno then parses into your schema: supports_native_structured_outputs=False supports_json_schema_outputs=True use_json_mode=False structured_outputs=True respons
- [BUG] CrewAI >= 1.4.0 - Structured outputs no longer working with azure models
CrewAI: Contributor Vidit-Ostwal patched the regression in PR #3910. Reporter-confirmed workaround: declare the structured-output Pydantic model with extra='forbid', e.g.