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 <seanzhougoogle@google.com>
PiperOrigin-RevId: 855285070
This commit is contained in:
Xiang (Sean) Zhou
2026-01-12 10:29:20 -08:00
committed by Copybara-Service
parent 43b484ff66
commit 4a34501d38
@@ -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: