You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
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:
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:
|
||||
|
||||
Reference in New Issue
Block a user