Apply suggestions from code review

Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
This commit is contained in:
Nuno Campos
2024-04-10 18:41:12 -07:00
committed by GitHub
co-authored by William FH
parent 7dafc09a5b
commit 89a14160b0
+1 -1
View File
@@ -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.