mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-12 12:47:53 +02:00
Apply suggestions from code review
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
This commit is contained in:
co-authored by
William FH
parent
7dafc09a5b
commit
89a14160b0
@@ -22,7 +22,7 @@ def str_output(output: Any) -> str:
|
||||
|
||||
class ToolNode(RunnableCallable):
|
||||
"""
|
||||
A node that runs the tols requested in the last AIMessage. It can be used
|
||||
A node that runs the tools requested in the last AIMessage. It can be used
|
||||
either in StateGraph with a "messages" key or in MessageGraph. If multiple
|
||||
tool calls are requested, they will be run in parallel. The output will be
|
||||
a list of ToolMessages, one for each tool call.
|
||||
|
||||
Reference in New Issue
Block a user