-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LangGraph human-in-the-loop (interrupt approvals) is implemented incorrectly #1280
Comments
And one more thing, out of topic, but putting here to not forget. When calling |
Thank you for flagging these! I believe the new interrupt API was added after the stockbroker example was created. I still need to add support for it :) Three issues:
For 2.: for the time being you can add additional streaming options when calling LangGraph APIs, then intercept langgraph's response stream (in |
here's the proposed API for interrupt + Command flow
|
https://www.loom.com/share/f188635c9fea433c87115c04de52bb9a
How it's done now?
https://github.com/Yonom/assistant-ui/blob/main/packages/react-langgraph/src/useLangGraphRuntime.ts#L168-L176
How it should be done?
https://langchain-ai.github.io/langgraph/how-tos/human_in_the_loop/review-tool-calls/#example-with-no-review
(REST-level analogue: https://langchain-ai.github.io/langgraph/cloud/reference/api/api_ref.html#tag/thread-runs/POST/threads/{thread_id}/runs/stream (
command
param))The text was updated successfully, but these errors were encountered: