mirror of
https://github.com/usestrix/strix.git
synced 2026-09-06 08:15:56 +00:00
fix(tool_server): use get_running_loop() instead of deprecated get_event_loop()
This commit is contained in:
parent
2b4107591c
commit
16c2d4ae3b
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ def _ensure_response_listener(agent_id: str, response_queue: Queue[Any]) -> None
|
|||
return
|
||||
|
||||
stop_event = threading.Event()
|
||||
loop = asyncio.get_event_loop()
|
||||
loop = asyncio.get_running_loop()
|
||||
|
||||
def _listener() -> None:
|
||||
while not stop_event.is_set():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue