From 4a34501d3832d2432c299de010dcf1a4b6911ced Mon Sep 17 00:00:00 2001 From: "Xiang (Sean) Zhou" Date: Mon, 12 Jan 2026 10:29:20 -0800 Subject: [PATCH] chore: Remove unnecessary assert of live request queue this is the only place we made the assertion , all other place called the method on live request queue directly. Also we make sure in runners that live request queue is set. Co-authored-by: Xiang (Sean) Zhou PiperOrigin-RevId: 855285070 --- src/google/adk/flows/llm_flows/base_llm_flow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/google/adk/flows/llm_flows/base_llm_flow.py b/src/google/adk/flows/llm_flows/base_llm_flow.py index 78b523ed..3e850ae2 100644 --- a/src/google/adk/flows/llm_flows/base_llm_flow.py +++ b/src/google/adk/flows/llm_flows/base_llm_flow.py @@ -303,7 +303,6 @@ class BaseLlmFlow(ABC): else: return invocation_context.agent.name - assert invocation_context.live_request_queue try: while True: async with Aclosing(llm_connection.receive()) as agen: