You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you searched for related issues? Others may have had similar requests
Question
I am trying to get structured output from the Agent using output_type .
My output would be in the JSON format and dynamic in nature so I kept the field as payload : dict.
agents.exceptions.UserError: additionalProperties should not be set for object types. This could be because you're using an older version of Pydantic, or because you configured additional properties to be allowed. If you really need this, update the function or output tool to not use a strict schema.
The text was updated successfully, but these errors were encountered:
Sorry I didn't answer your question directly. But this might happen to others too. This error also comes up when you use **kwargs in the function signature.
Please read this first
Question
I am trying to get structured output from the Agent using output_type .
My output would be in the JSON format and dynamic in nature so I kept the field as payload : dict.
But, keep getting this error :
agents.exceptions.UserError: additionalProperties should not be set for object types. This could be because you're using an older version of Pydantic, or because you configured additional properties to be allowed. If you really need this, update the function or output tool to not use a strict schema.
The text was updated successfully, but these errors were encountered: