From 47bd34ac2873ec250ed5df52cde8f132da84a766 Mon Sep 17 00:00:00 2001 From: "Xiang (Sean) Zhou" Date: Tue, 23 Sep 2025 15:49:40 -0700 Subject: [PATCH] chore: Fix the type annotation PiperOrigin-RevId: 810611299 --- src/google/adk/flows/llm_flows/contents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/adk/flows/llm_flows/contents.py b/src/google/adk/flows/llm_flows/contents.py index 2ce917ba..d6355ca3 100644 --- a/src/google/adk/flows/llm_flows/contents.py +++ b/src/google/adk/flows/llm_flows/contents.py @@ -78,7 +78,7 @@ def _rearrange_events_for_async_function_responses_in_history( ) -> list[Event]: """Rearrange the async function_response events in the history.""" - function_call_id_to_response_events_index: dict[str, list[Event]] = {} + function_call_id_to_response_events_index: dict[str, int] = {} for i, event in enumerate(events): function_responses = event.get_function_responses() if function_responses: