We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c3bce4 commit 538c620Copy full SHA for 538c620
ex_app/lib/graph.py
@@ -60,6 +60,7 @@ def route_tools(state: AgentState):
60
# This assumes single tool calls. To handle parallel tool calling, you'd want to
61
# use an ANY condition
62
first_tool_call = ai_message.tool_calls[0]
63
+ print('Tool call: ', first_tool_call)
64
if first_tool_call["name"] in dangerous_tool_names:
65
return "dangerous_tools"
66
return "safe_tools"
0 commit comments