Function calling with deepseek-chat #7131
Replies: 2 comments 4 replies
-
Which tool are you using, is it returning an image? More information is needed. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Closed by #7132 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Version LibreChat v0.7.7
When trying to use function calling (specifically a custom MCP server) with
deepseek-chat
model, the first function call works, the model can call the tool and process the result. But each interaction afterwards breaks with an error.Interaction is something like:
USER: Use tool
LLM: [LLM uses tool] here is the result.
USER: Great, summerize the result
LLM: [After ~30s of waiting] Something went wrong. Here's the specific error message we encountered: An error occurred while processing the request: 422 Failed to deserialize the JSON body into the target type: messages[6]: invalid type: sequence, expected a string at line 127 column 4`
Version Information
ghcr.io/danny-avila/librechat-dev latest 06e87a09ddf6 12 hours ago 945MB
ghcr.io/danny-avila/librechat-rag-api-dev-lite latest 49a785a50986 2 weeks ago 1.28GB
Steps to Reproduce
USER: Use tool
LLM: [LLM uses tool] here is the result.
USER: Great, summerize the result
LLM: [After ~30s of waiting] Something went wrong. Here's the specific error message we encountered: An error occurred while processing the request: 422 Failed to deserialize the JSON body into the target type: messages[6]: invalid type: sequence, expected a string at line 127 column 4`
What browsers are you seeing the problem on?
Firefox
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions