From 54ec6c53825868831e7af97a0e300a21882ad21e Mon Sep 17 00:00:00 2001 From: Calvin Giles Date: Thu, 5 Jun 2025 12:33:49 +1200 Subject: [PATCH] fix: Fix incorrect call to trace_tool_call in handle_function_calls_live --- src/google/adk/flows/llm_flows/functions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/google/adk/flows/llm_flows/functions.py b/src/google/adk/flows/llm_flows/functions.py index 2541ac664..2772550c2 100644 --- a/src/google/adk/flows/llm_flows/functions.py +++ b/src/google/adk/flows/llm_flows/functions.py @@ -288,8 +288,7 @@ async def handle_function_calls_live( trace_tool_call( tool=tool, args=function_args, - response_event_id=function_response_event.id, - function_response=function_response, + function_response_event=function_response_event, ) function_response_events.append(function_response_event)