Stop langgraph manually? #30

Closed
opened 2026-02-15 17:05:48 -05:00 by yindo · 3 comments
Owner

Originally created by @sanjiv-upgiant on GitHub (May 24, 2024).

Langgraph currently has END node which will terminate the flow, but sometimes, you would want to terminate any time you would want, so that it would manually end the flow. Is there anyway we can do this?

Maybe from callbacks or signals to interrupt the flow and END it?

Originally created by @sanjiv-upgiant on GitHub (May 24, 2024). Langgraph currently has END node which will terminate the flow, but sometimes, you would want to terminate any time you would want, so that it would manually end the flow. Is there anyway we can do this? Maybe from callbacks or signals to interrupt the flow and END it?
yindo closed this issue 2026-02-15 17:05:48 -05:00
Author
Owner

@hinthornw commented on GitHub (May 31, 2024):

Like this: https://langchain-ai.github.io/langgraphjs/how-tos/human-in-the-loop/?

@hinthornw commented on GitHub (May 31, 2024): Like this: https://langchain-ai.github.io/langgraphjs/how-tos/human-in-the-loop/?
Author
Owner

@hinthornw commented on GitHub (May 31, 2024):

Or in any given node you can have a conditional edge after it that ruotes to END if some condition is met

@hinthornw commented on GitHub (May 31, 2024): Or in any given node you can have a conditional edge after it that ruotes to END if some condition is met
Author
Owner

@hinthornw commented on GitHub (Jun 1, 2024):

Gonna move this to discussions rn unless there's a specific request

@hinthornw commented on GitHub (Jun 1, 2024): Gonna move this to discussions rn unless there's a specific request
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#30