Sporadic error when calling an MCP tool - LangChain related #6682
Replies: 2 comments 16 replies
-
The format used is intentional and allows for multi-modal outputs from tools. certain providers/models will cause this error, because they cannot accept them. When you say anthropic's Sonnet 3.7, do you mean the LLM behind a custom endpoint or direct? Some exact details on your LLM setup would help troubleshoot what's going on. The suggestion you made should not be made because |
Beta Was this translation helpful? Give feedback.
16 replies
-
Closed by #6687 |
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?
Sometimes when calling an MCP tool with Sonnet 3.7 (doesn't depend on exact MCP tool) there is an error:
This error originates from Langchain's check located here.
Though originally this is a problem on the Langchain side, it seems it can be fixed on the LibreChat side by creating a wrapper here:
Version Information
d8337e0
Steps to Reproduce
Unfortunately, I didn't find any reliable way to reproduce this error, but it appears quite often.
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions