Skip to content

Commit 0f92dd6

Browse files
committed
fix: move LiveRequestQueue to top-level import to avoid CI failures
1 parent b5c055e commit 0f92dd6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/unittests/test_runners.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from google.adk.agents.base_agent import BaseAgent
2424
from google.adk.agents.context_cache_config import ContextCacheConfig
2525
from google.adk.agents.invocation_context import InvocationContext
26+
from google.adk.agents.live_request_queue import LiveRequestQueue
2627
from google.adk.agents.llm_agent import LlmAgent
2728
from google.adk.agents.run_config import RunConfig
2829
from google.adk.apps.app import App
@@ -342,8 +343,6 @@ async def test_run_live_auto_create_session():
342343
)
343344

344345
# An empty LiveRequestQueue is sufficient for our mock agent.
345-
from google.adk.agents.live_request_queue import LiveRequestQueue
346-
347346
live_queue = LiveRequestQueue()
348347

349348
agen = runner.run_live(

0 commit comments

Comments
 (0)