cuddly-cartoon-47334
09/15/2025, 7:26 AM2025-09-15 00:24:50,112 - DEBUG livekit.agents - initializing inference runner {"runner": "lk_end_of_utterance_en", "pid": 86417, "inference": true}
2025-09-15 00:24:56,191 - INFO livekit.agents - killing process {"pid": 86417, "inference": true}
2025-09-15 00:24:56,191 - ERROR livekit.agents - worker failed
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/livekit/agents/ipc/channel.py", line 47, in arecv_message
return _read_message(await dplx.recv_bytes(), messages)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/livekit/agents/utils/aio/duplex_unix.py", line 35, in recv_bytes
len_bytes = await self._reader.readexactly(4)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py", line 723, in readexactly
await self._wait_for_data('readexactly')
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/livekit/agents/cli/_run.py", line 79, in _worker_run
await worker.run()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/livekit/agents/worker.py", line 387, in run
await self._inference_executor.initialize()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/livekit/agents/ipc/supervised_proc.py", line 169, in initialize
init_res = await asyncio.wait_for(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
Any clue how to fix this? agent runs fine in livekit agents prod.