Interrupt on a specific tool when using Langgraph ReAct Agent #929
Unanswered
nathan-vo810
asked this question in
Q&A
Replies: 1 comment 1 reply
-
For that, I'd make my own graph, have two tool nodes - one where I'd have an interrupt and the other I wouldn't. We demonstrate this in the customer support tutorial |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been looking into Human In the Loop for Langgraph React Agent here: https://langchain-ai.github.io/langgraph/how-tos/create-react-agent-hitl/
In the tutorial, the graph is interrupted at every tool call.
However, I don't want it to stop at every single tool call but instead stop at a specific tool such as
AskHuman
like in this tutorial: https://langchain-ai.github.io/langgraph/how-tos/human_in_the_loop/wait-user-input/I cannot use the chain with tools as for my usecase it is required to have an agent. So, how can I have my langgraph agent only stop on a specific tool?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions