You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see in the email-agent example, that the backend interrupts the graph using interrupt() and in response the UI (agent-chat-ui) displays a builtin UI (agent-inbox) for the user to accept, ignore, etc. to stop or resume the graph.
I can also see in the trip-planner example how to push a custom UI to agent-chat-ui when executing a node using ui.push()
Now, is it possible to make an interrupt and display a custom UI for the user to decide instead of the default agent-inbox mechanism? I tried to call naivly ui.push() before interrupt() but then nothing appeared in the UI.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I created an issue for this, but maybe it worth asking it here.
I am evaluating https://github.com/langchain-ai/langgraphjs-gen-ui-examples
I can see in the email-agent example, that the backend interrupts the graph using interrupt() and in response the UI (agent-chat-ui) displays a builtin UI (agent-inbox) for the user to accept, ignore, etc. to stop or resume the graph.
I can also see in the trip-planner example how to push a custom UI to agent-chat-ui when executing a node using ui.push()
Now, is it possible to make an interrupt and display a custom UI for the user to decide instead of the default agent-inbox mechanism? I tried to call naivly ui.push() before interrupt() but then nothing appeared in the UI.
Beta Was this translation helpful? Give feedback.
All reactions