chore: Fix the type annotation

PiperOrigin-RevId: 810611299
This commit is contained in:
Xiang (Sean) Zhou
2025-09-23 15:49:40 -07:00
committed by Copybara-Service
parent ae5592e242
commit 47bd34ac28
+1 -1
View File
@@ -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: