资讯

I think I found a bug when using pydantic models. I am defining a model to use when I do with_structured_output and the result was consistently failing with a ...
I am not sure if there is an intentional restriction around this but I believe we should allow enums as part of an input_schema when using an agent as a tool. Here is an example that doesn't work: ...