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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
langgraph-prebuilt 0.1.6
Summary of Changes
Fixed parent command handling in ToolNode when processing commands with multiple Send objects (#4019)
Detailed Changes
langgraph.prebuilt.tool_node.ToolNode
Enhanced the _combine_tool_outputs method to properly handle parent commands where goto is already a list of Send objects (#4019)
Previously, the code would only handle parent commands with string destinations, now it can properly combine multiple Send objects into the parent command
This improvement enables more complex routing scenarios when tools need to send updates to multiple destinations