mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-03 05:58:43 +02:00
prebuilt: ignore updates when combining parent commands with Send (#4033)
This commit is contained in:
@@ -292,7 +292,7 @@ class ToolNode(RunnableCallable):
|
||||
goto=cast(list[Send], parent_command.goto) + output.goto,
|
||||
)
|
||||
else:
|
||||
parent_command = output
|
||||
parent_command = Command(graph=Command.PARENT, goto=output.goto)
|
||||
else:
|
||||
combined_outputs.append(output)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user