Maximum number of tools that can be used with create_react_agent #31143
Unanswered
ksgnextuple
asked this question in
Q&A
Replies: 2 comments
-
Did you ever find a solution to this? @ksgnextuple trying to get multiple mcp servers to work |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @JacobDzi , did get a workaround for my purpose. So wrote a method that once again makes a openai call (if the number of tools > the max_possible_tools) to select the most relevant tools based on the user query xD. Kinda worked in my scenario, but not the best solution. |
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.
-
Checked other resources
Commit to Help
Example Code
Description
Facing an issue where I have an mcp server running in sse mode with 434 tools available.
Below is the error:
Is there a limit to the number of tools that can be used?
System Info
langchain==0.3.18
langchain-chroma==0.2.2
langchain-community==0.3.17
langchain-core==0.3.35
langchain-experimental==0.3.4
langchain-openai==0.3.5
langchain-text-splitters==0.3.6
Beta Was this translation helpful? Give feedback.
All reactions