Skip to content

Commit 9865e2b

Browse files
wuliang229copybara-github
authored andcommitted
fix(live): fix the return type hint of handle_function_calls_live
Co-authored-by: Liang Wu <wuliang@google.com> PiperOrigin-RevId: 941459003
1 parent 77d5b5c commit 9865e2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/google/adk/flows/llm_flows/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ async def handle_function_calls_live(
668668
invocation_context: InvocationContext,
669669
function_call_event: Event,
670670
tools_dict: dict[str, BaseTool],
671-
) -> Event:
671+
) -> Event | None:
672672
"""Calls the functions and returns the function response event."""
673673
from ...agents.llm_agent import LlmAgent
674674

0 commit comments

Comments
 (0)