-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MistralAI][Tool Call]Failed to convert response to pydantic model #1792
Comments
Another example where the response content of the agent is the query itself instead of being the results.
|
I tried with others models like Claude and I don't have this kind of problem. I have the impression, that it's related to the way Tool Call is handled. |
This should be fixed in the next release |
I've been getting this error with Sonnet 3.5 and GPT-4o. |
## Description Tool calling does not work correctly with response models. This will use the response model if there is one, overriding any tool calling. The tool calls are then displayed separately. This also solves the issue for teams. Fixes #1792
Hi,
I've created an Agent that works pretty well in general
but sometimes, I don't know why, the behavior is not correct and I get an error. Below, It's like it tries to convert the Functions inside the DEBUG to a json.
Or sometimes, I can see on debug mode that I have a correct json rendered but still at the end I get.
After few retry, it works and no problems.
It's pretty random and I don't know what I should do. If it's something to do with the model or not.
The text was updated successfully, but these errors were encountered: