Error when using mcp tools in a state graph #4861
Unanswered
SaiSanthosh1508
asked this question in
Q&A
Replies: 1 comment
-
i believe there is an issue here: def llm_call(state : MessagesState):
response = agent.invoke(state['messages']) <-- needs to be `agent.invoke({"messages": state["messages"]})`
return {"messages": response} |
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.
-
The graph is provided below:
The below is the errror message i recieved
I'm unable to understand the cause of the error , help me solve the issue,
Beta Was this translation helpful? Give feedback.
All reactions