Replies: 2 comments
-
So what I did to workaround that for now is add a counter on the state. This seems like a bug for me, tbh, because |
Beta Was this translation helpful? Give feedback.
-
I just stumbled upon the same problem. It seems on newer versions of langgraph it is possible to defer a node execution until all incoming branchs are completed: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm creating a parallel node workflow, so I started with this basic example:
But in my case, my node
b
has a tool that is called byconditional_edge
. In this situation, sinceb
called for the tool, thed
node is thinking thatb
ended and it get called twice.Here is an example (I added a random chance to call for the tool just to exemplify):
This is one of the possible results:
Notice that
d
was called twice, because meanwhilec
ended,b
was in a "waiting" status. My guess is thatb
called for their tool andd
though it ended, but the tool itself is still running.Another case that I tried was removing my
e
node, like this:which resulted in this:
Notice that
d
ended before mytool
finishes, so it would make it break the flow.Is there any workaround to this?
Beta Was this translation helpful? Give feedback.
All reactions