Skip to content

prebuilt==0.1.6

Choose a tag to compare

@github-actions github-actions released this 25 Mar 19:52
f36b7f6

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