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'm building a multi-agent system with LangGraph where:
chatbotAgent handles user inputs and responds quickly.
otherAgent runs in parallel to process background tasks (like writing data to another state attribute).
I'm using graph.astream(..., stream_mode="values") which allows me to stream the chatbot response immediately.
❗The problem:
Even after chatbotAgent returns its result, I can’t send the next user input until otherAgent also completes. The entire graph run blocks further interaction.
✅ What I want:
To let the user continue chatting with chatbotAgent without waiting for other parallel nodes (like otherAgent) to finish.
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'm building a multi-agent system with LangGraph where:
chatbotAgent handles user inputs and responds quickly.
otherAgent runs in parallel to process background tasks (like writing data to another state attribute).
I'm using graph.astream(..., stream_mode="values") which allows me to stream the chatbot response immediately.
❗The problem:
Even after chatbotAgent returns its result, I can’t send the next user input until otherAgent also completes. The entire graph run blocks further interaction.
✅ What I want:
To let the user continue chatting with chatbotAgent without waiting for other parallel nodes (like otherAgent) to finish.
Beta Was this translation helpful? Give feedback.
All reactions