============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 11:29:24 DEBUG asyncio Using selector: EpollSelector DEV livekit.agents Watching /var/www/html/livekit_frontend/BackEnd/ag ent-starter-python/src ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 11:29:25 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 11:29:26 INFO livekit.agents initializing process {"pid": 1452036, "inference": true} 11:29:28 INFO livekit.agents process initialized {"pid": 1452036, "inference": true, "elapsed_time": 2.44} INFO livekit.agents initializing process {"pid": 1452283} INFO livekit.agents initializing process {"pid": 1452285} INFO livekit.agents initializing process {"pid": 1452286} INFO livekit.agents initializing process {"pid": 1452288} INFO agent Prewarming agent {"pid": 1452285} process... INFO agent Prewarming agent {"pid": 1452288} process... INFO agent Prewarming agent {"pid": 1452286} process... INFO agent Prewarming agent {"pid": 1452283} process... INFO agent Prewarm complete - VAD {"pid": 1452285} loaded INFO agent Prewarm complete - VAD {"pid": 1452286} loaded INFO agent Prewarm complete - VAD {"pid": 1452288} loaded DEBUG asyncio Using selector: {"pid": 1452285} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1452283} loaded 11:29:29 INFO livekit.agents process initialized {"pid": 1452285, "elapsed_time": 0.26} 11:29:28 DEBUG asyncio Using selector: {"pid": 1452286} EpollSelector DEBUG asyncio Using selector: {"pid": 1452288} EpollSelector DEBUG asyncio Using selector: {"pid": 1452283} EpollSelector 11:29:29 INFO livekit.agents process initialized {"pid": 1452286, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1452288, "elapsed_time": 0.29} INFO livekit.agents process initialized {"pid": 1452283, "elapsed_time": 0.29} INFO livekit.agents initializing process {"pid": 1452469} INFO livekit.agents initializing process {"pid": 1452471} INFO livekit.agents initializing process {"pid": 1452473} INFO livekit.agents initializing process {"pid": 1452475} INFO agent Prewarming agent {"pid": 1452469} process... INFO agent Prewarming agent {"pid": 1452471} process... INFO agent Prewarming agent {"pid": 1452475} process... INFO agent Prewarming agent {"pid": 1452473} process... INFO livekit.agents process initialized {"pid": 1452469, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1452469} loaded INFO agent Prewarm complete - VAD {"pid": 1452471} loaded DEBUG asyncio Using selector: {"pid": 1452469} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1452475} loaded INFO agent Prewarm complete - VAD {"pid": 1452473} loaded DEBUG asyncio Using selector: {"pid": 1452471} EpollSelector DEBUG asyncio Using selector: {"pid": 1452475} EpollSelector DEBUG asyncio Using selector: {"pid": 1452473} EpollSelector INFO livekit.agents process initialized {"pid": 1452471, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1452475, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1452473, "elapsed_time": 0.29} INFO livekit.agents initializing process {"pid": 1452647} INFO livekit.agents initializing process {"pid": 1452649} INFO agent Prewarming agent {"pid": 1452649} process... INFO agent Prewarming agent {"pid": 1452647} process... INFO agent Prewarm complete - VAD {"pid": 1452649} loaded INFO agent Prewarm complete - VAD {"pid": 1452647} loaded DEBUG asyncio Using selector: {"pid": 1452649} EpollSelector DEBUG asyncio Using selector: {"pid": 1452647} EpollSelector INFO livekit.agents process initialized {"pid": 1452649, "elapsed_time": 0.27} INFO livekit.agents process initialized {"pid": 1452647, "elapsed_time": 0.29} INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_inw26KUFkLnB", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 16} 14:27:11 INFO livekit.agents received job request {"job_id": "AJ_jCoQfUZK6vGR", "dispatch_id": "AD_r2FfyWXziSNo", "room": "voice_assistant_room… "room_id": "RM_iTc8N5fN6nH8", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_iTc8N5fN6nH8", "room": "voice_assistant_room_… "job_id": "AJ_jCoQfUZK6vGR", "dispatch_id": "AD_r2FfyWXziSNo", "enable_recording": false} INFO agent Job received: {"pid": 1452285, room=voice_assistant "job_id": _room_7774, "AJ_jCoQfUZK6vGR", job_id=AJ_jCoQfUZK6v "room_id": GR "RM_iTc8N5fN6nH8"} INFO livekit.agents initializing process {"pid": 1669398} 14:27:12 INFO agent Prewarming agent {"pid": 1669398} process... INFO agent Prewarm complete - VAD {"pid": 1669398} loaded INFO livekit.agents process initialized {"pid": 1669398, "elapsed_time": 0.27} DEBUG asyncio Using selector: {"pid": 1669398} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 365 "voice_assistant_room… ms (total since job: "pid": 1452285, 365 ms) "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1452285, , 'agent_voice', "job_id": 'agent_language', "AJ_jCoQfUZK6vGR", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_iTc8N5fN6nH8"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1452285, agent_stt_provider / "job_id": agent_tts_provider) "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1452285, cfc-8119-259a79b27e12 "job_id": language=en "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1452285, + LLM + "job_id": AgentSession): 510 ms "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1452285, listening "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1452285, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1452285, er` -> `RoomIO` "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1452285, (since connect): 154 "job_id": ms (total since job: "AJ_jCoQfUZK6vGR", 519 ms) "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1452285, 519 ms "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} ERROR asyncio Task exception was {"room": never retrieved "voice_assistant_roo… future: ._pre "RM_iTc8N5fN6nH8"} warm_impl() done, defined at /var/www/html/livekit _frontend/BackEnd/age nt-starter-python/.ve nv/lib/python3.10/sit e-packages/livekit/ag ents/utils/connection _pool.py:165> exception=WSServerHan dshakeError(RequestIn fo(url=URL('wss://api .cartesia.ai/tts/webs ocket?api_key=sk_car_ 1HjSZTLBzape2ToTfTCC4 a&cartesia_version=20 25-04-16'), method='GET', headers=, real_url=URL('wss://a pi.cartesia.ai/tts/we bsocket?api_key=sk_ca r_1HjSZTLBzape2ToTfTC C4a&cartesia_version= 2025-04-16')), (), status=402, message='Invalid response status', headers=)> Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 168, in _prewarm_impl conn = await self._connect(timeout =self._connect_timeou t) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 62, in _connect connection = await self._connect_cb(time out) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 202, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/tts/websocket?a pi_key=sk_car_1HjSZTL Bzape2ToTfTCC4a&carte sia_version=2025-04-1 6' 14:27:13 DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} 14:27:15 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} 14:27:16 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} 14:27:17 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1452285, transcript='Hello?' "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1471 ms "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452285, LLM/TTS timing) "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.1716864109039307, "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452285, y "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 2 ms "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.008786201477050781, "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1452285, text="['Hello?']"... "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452285, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_jCoQfUZK6vGR", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iTc8N5fN6nH8"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:27:18 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452285, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_jCoQfUZK6vGR", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iTc8N5fN6nH8"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:27:19 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} 14:27:20 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1452285, transcript='Hello?' "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1376 ms "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452285, LLM/TTS timing) "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.1261608600616455, "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452285, y "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 6 ms "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1452285, text="['Hello?']"... "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} 14:27:21 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452285, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_jCoQfUZK6vGR", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iTc8N5fN6nH8"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452285, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_jCoQfUZK6vGR", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iTc8N5fN6nH8"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:27:23 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1452285, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_jCoQfUZK6vGR", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iTc8N5fN6nH8"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:27:24 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} 14:27:25 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} 14:27:26 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1452285, recent call last): "job_id": File "AJ_jCoQfUZK6vGR", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_iTc8N5fN6nH8"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1452285, text="['Hello there "job_id": How can I help you "AJ_jCoQfUZK6vGR", today']"... "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1452285, 5538 ms "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1452285, transcript='Hello?' "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1536 ms "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452285, LLM/TTS timing) "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.0865919589996338, "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452285, y "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 74 ms "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.00506591796875, "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1452285, text="['Hello?']"... "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452285, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_jCoQfUZK6vGR", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iTc8N5fN6nH8"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452285, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_jCoQfUZK6vGR", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iTc8N5fN6nH8"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:27:29 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1452285, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_jCoQfUZK6vGR", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iTc8N5fN6nH8"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:27:30 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} 14:27:31 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1452285, transcript='Hello.' "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1400 ms "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452285, LLM/TTS timing) "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.1012928485870361, "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452285, y "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 4 ms "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 5691 "pid": 1452285, ms "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1452285, text="['Hello.']"... "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452285, "job_id": "AJ_jCoQfUZK6vGR", "room_id": "RM_iTc8N5fN6nH8"} 14:27:32 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452285, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_jCoQfUZK6vGR", env/lib/python3.10/si "room_id": 14:48:48 INFO livekit.agents received job request {"job_id": "AJ_4w9hmTxq8r98", "dispatch_id": "AD_S5wM8v2w3Kyj", "room": "voice_assistant_room… "room_id": "RM_Ld7MBZfQe4jR", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_Ld7MBZfQe4jR", "room": "voice_assistant_room_… "job_id": "AJ_4w9hmTxq8r98", "dispatch_id": "AD_S5wM8v2w3Kyj", "enable_recording": false} INFO agent Job received: {"pid": 1413027, room=voice_assistant "job_id": _room_5629, "AJ_4w9hmTxq8r98", job_id=AJ_4w9hmTxq8r "room_id": 98 "RM_Ld7MBZfQe4jR"} INFO livekit.agents initializing process {"pid": 1709108} INFO agent Prewarming agent {"pid": 1709108} process... 14:48:49 INFO livekit.agents process initialized {"pid": 1709108, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1709108} loaded DEBUG asyncio Using selector: {"pid": 1709108} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 519 "voice_assistant_room… ms (total since job: "pid": 1413027, 519 ms) "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1413027, , 'agent_voice', "job_id": 'agent_language', "AJ_4w9hmTxq8r98", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_Ld7MBZfQe4jR"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1413027, agent_stt_provider / "job_id": agent_tts_provider) "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1413027, cfc-8119-259a79b27e12 "job_id": language=en "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1413027, + LLM + "job_id": AgentSession): 690 ms "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1413027, listening "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1413027, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1413027, er` -> `RoomIO` "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1413027, (since connect): 182 "job_id": ms (total since job: "AJ_4w9hmTxq8r98", 701 ms) "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1413027, 701 ms "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} ERROR asyncio Task exception was {"room": never retrieved "voice_assistant_roo… future: ._pre "RM_Ld7MBZfQe4jR"} warm_impl() done, defined at /var/www/html/livekit _frontend/BackEnd/age nt-starter-python/.ve nv/lib/python3.10/sit e-packages/livekit/ag ents/utils/connection _pool.py:165> exception=WSServerHan dshakeError(RequestIn fo(url=URL('wss://api .cartesia.ai/tts/webs ocket?api_key=sk_car_ 1HjSZTLBzape2ToTfTCC4 a&cartesia_version=20 25-04-16'), method='GET', headers=, real_url=URL('wss://a pi.cartesia.ai/tts/we bsocket?api_key=sk_ca r_1HjSZTLBzape2ToTfTC C4a&cartesia_version= 2025-04-16')), (), status=402, message='Invalid response status', headers=)> Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 168, in _prewarm_impl conn = await self._connect(timeout =self._connect_timeou t) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 62, in _connect connection = await self._connect_cb(time out) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 202, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/tts/websocket?a pi_key=sk_car_1HjSZTL Bzape2ToTfTCC4a&carte sia_version=2025-04-1 6' 14:48:50 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:48:51 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1413027, transcript='Hello?' "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1358 ms "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413027, LLM/TTS timing) "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.1608591079711914, "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413027, y "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005964994430541992, "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1413027, text="['Hello?']"... "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:48:52 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:48:55 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:48:57 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413027, recent call last): "job_id": File "AJ_4w9hmTxq8r98", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_Ld7MBZfQe4jR"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1413027, text="['Hi there! How "job_id": can I help you "AJ_4w9hmTxq8r98", today?']"... "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1413027, 6339 ms "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:00 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:01 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:02 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1413027, transcript='Hello?' "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1558 ms "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413027, LLM/TTS timing) "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.357132911682129, "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413027, y "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 4910 "pid": 1413027, ms "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.002317905426025390… "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1413027, text="['Hello?']"... "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:49:03 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:49:06 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:07 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:08 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413027, transcript="I'm Earl "job_id": the hool." "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1693 ms "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413027, LLM/TTS timing) "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "I'm Earl the hool.", "language": "eng", "transcript_delay": 1.1972811222076416, "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413027, y "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> "voice_assistant_room… first audio): 21 ms "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 11267 "pid": 1413027, ms "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413027, text='["I\'m Earl the "job_id": hool."]'... "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:09 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:49:12 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:13 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:14 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:15 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413027, recent call last): "job_id": File "AJ_4w9hmTxq8r98", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_Ld7MBZfQe4jR"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1413027, text="['Hello Earl "job_id": the hool I like your "AJ_4w9hmTxq8r98", style What can I do "room_id": for you today']"... "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1413027, 6504 ms "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1413027, transcript="I'm "job_id": audible?" "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2720 ms "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413027, LLM/TTS timing) "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "I'm audible?", "language": "eng", "transcript_delay": 2.1192359924316406, "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413027, y "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 527 ms "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.006560802459716797, "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413027, text='["I\'m "job_id": audible?"]'... "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} 14:49:16 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:49:19 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1413027, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_4w9hmTxq8r98", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_Ld7MBZfQe4jR"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 14:49:21 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413027, "job_id": "AJ_4w9hmTxq8r98", "room_id": "RM_Ld7MBZfQe4jR"} ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413027, recent call last): "job_id": File "AJ_4w9hmTxq8r98", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_Ld7MBZfQe4jR"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p 15:37:37 INFO livekit.agents received job request {"job_id": "AJ_MPtJb5uRcGWs", "dispatch_id": "AD_fTrbf4jaDXX8", "room": "voice_assistant_room… "room_id": "RM_UZucmxWpHyFQ", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_UZucmxWpHyFQ", "room": "voice_assistant_room_… "job_id": "AJ_MPtJb5uRcGWs", "dispatch_id": "AD_fTrbf4jaDXX8", "enable_recording": false} INFO agent Job received: {"pid": 1415802, room=voice_assistant "job_id": _room_7095, "AJ_MPtJb5uRcGWs", job_id=AJ_MPtJb5uRcG "room_id": Ws "RM_UZucmxWpHyFQ"} INFO livekit.agents initializing process {"pid": 1790873} 15:37:38 INFO agent Prewarming agent {"pid": 1790873} process... INFO agent Prewarm complete - VAD {"pid": 1790873} loaded INFO livekit.agents process initialized {"pid": 1790873, "elapsed_time": 0.27} DEBUG asyncio Using selector: {"pid": 1790873} EpollSelector 15:37:39 INFO agent [LATENCY] Startup: {"room": ctx.connect(): 1343 "voice_assistant_room… ms (total since job: "pid": 1415802, 1343 ms) "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1415802, , 'agent_voice', "job_id": 'agent_language', "AJ_MPtJb5uRcGWs", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_UZucmxWpHyFQ"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=ELEVENLABS (from "pid": 1415802, agent_stt_provider / "job_id": agent_tts_provider) "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent TTS: ElevenLabs {"room": model=eleven_turbo_v "voice_assistant_room… 2_5 "pid": 1415802, voice=EXAVITQu4vr4xn "job_id": SDxMaL "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1415802, + LLM + "job_id": AgentSession): 1465 "AJ_MPtJb5uRcGWs", ms "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1415802, listening "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1415802, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1415802, er` -> `RoomIO` "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1415802, (since connect): 130 "job_id": ms (total since job: "AJ_MPtJb5uRcGWs", 1473 ms) "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_room… -> agent listening): "pid": 1415802, 1473 ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:37:41 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:37:42 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:37:44 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1415802, transcript='Hello?' "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2425 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415802, LLM/TTS timing) "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 2.173994541168213, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415802, y "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005808115005493164, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1415802, text="['Hello?']"... "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:37:45 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi there! How can I help you today? (body=None, retryable=True) 15:37:46 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi there! How can I help you today? (body=None, retryable=True) 15:37:48 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi there! How can I help you today? (body=None, retryable=True) 15:37:50 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415802, recent call last): "job_id": File "AJ_MPtJb5uRcGWs", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_UZucmxWpHyFQ"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi there! How can I help you today? (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415802, text="['Hi there! How "job_id": can I help you "AJ_MPtJb5uRcGWs", today?']"... "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415802, 5827 ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:37:55 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:37:56 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1415802, transcript='Hello.' "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1445 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415802, LLM/TTS timing) "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.1485838890075684, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415802, y "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 6450 "pid": 1415802, ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.00818634033203125, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1415802, text="['Hello.']"... "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:37:57 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again! What’s on your mind? (body=None, retryable=True) 15:37:58 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again! What’s on your mind? (body=None, retryable=True) 15:38:00 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again! What’s on your mind? (body=None, retryable=True) 15:38:02 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415802, recent call last): "job_id": File "AJ_MPtJb5uRcGWs", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_UZucmxWpHyFQ"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again! What’s on your mind? (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415802, text="['Hello again! "job_id": What’s on your "AJ_MPtJb5uRcGWs", mind?']"... "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415802, 5506 ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:03 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:04 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1415802, transcript='Am I "job_id": audible?' "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1668 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415802, LLM/TTS timing) "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Am I audible?", "language": "eng", "transcript_delay": 1.1676292419433594, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415802, y "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 1916 "pid": 1415802, ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.006451129913330078, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1415802, text="['Am I "job_id": audible?']"... "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:05 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Loud and clear! What would you like to talk about? (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Loud and clear! What would you like to talk about? (body=None, retryable=True) 15:38:07 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Loud and clear! What would you like to talk about? (body=None, retryable=True) 15:38:09 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415802, recent call last): "job_id": File "AJ_MPtJb5uRcGWs", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_UZucmxWpHyFQ"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Loud and clear! What would you like to talk about? (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415802, text="['Loud and "job_id": clear! What would you "AJ_MPtJb5uRcGWs", like to talk "room_id": about?']"... "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415802, 5331 ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:11 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:13 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:15 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1415802, transcript="I'm "job_id": audible to you?" "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 4141 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415802, LLM/TTS timing) "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "I'm audible to you?", "language": "eng", "transcript_delay": 3.2975432872772217, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415802, y "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 6443 "pid": 1415802, ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005450010299682617, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1415802, text='["I\'m audible "job_id": to you?"]'... "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:17 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415802, recent call last): "job_id": File "AJ_MPtJb5uRcGWs", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_UZucmxWpHyFQ"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415802, text="['I can’t "job_id": actually hear you, "AJ_MPtJb5uRcGWs", but your messages are "room_id": coming through "RM_UZucmxWpHyFQ"} perfectly. Wha"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415802, 1217 ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:23 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:24 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:25 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1415802, transcript='Am I "job_id": audible or not?' "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1917 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415802, LLM/TTS timing) "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Am I audible or not?", "language": "eng", "transcript_delay": 1.1691944599151611, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415802, y "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 8205 "pid": 1415802, ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005324602127075195, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1415802, text="['Am I audible "job_id": or not?']"... "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:26 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415802, recent call last): "job_id": File "AJ_MPtJb5uRcGWs", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_UZucmxWpHyFQ"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415802, text="['I can’t hear "job_id": sounds, so I can’t "AJ_MPtJb5uRcGWs", tell if you’re "room_id": audible. But your "RM_UZucmxWpHyFQ"} text messages"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415802, 1194 ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:33 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:35 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1415802, transcript='Hey, am I "job_id": audible to you?' "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2538 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415802, LLM/TTS timing) "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hey, am I audible to you?", "language": "eng", "transcript_delay": 1.1897163391113281, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415802, y "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 9230 "pid": 1415802, ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005467891693115234, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1415802, text="['Hey, am I "job_id": audible to you?']"... "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:36 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415802, recent call last): "job_id": File "AJ_MPtJb5uRcGWs", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_UZucmxWpHyFQ"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415802, text="['I can’t hear "job_id": you, so I’m not able "AJ_MPtJb5uRcGWs", to tell if you’re "room_id": audible. But keep the "RM_UZucmxWpHyFQ"} mess"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415802, 1194 ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:43 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:44 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1415802, transcript='Okay.' "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1382 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415802, LLM/TTS timing) "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Okay.", "language": "eng", "transcript_delay": 1.0812175273895264, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415802, y "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 0 ms "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 7900 "pid": 1415802, ms "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.00399017333984375, "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1415802, text="['Okay.']"... "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:45 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415802, "job_id": "AJ_MPtJb5uRcGWs", "room_id": "RM_UZucmxWpHyFQ"} 15:38:46 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1415802, File "job_id": "/var/www/html/liveki "AJ_MPtJb5uRcGWs", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UZucmxWpHyFQ"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Great! Let me know if there’s anything you want to chat about or need help with. (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415802, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MPtJb5uRcGWs", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UZucmxWpHyFQ"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio 15:40:06 INFO livekit.agents received job request {"job_id": "AJ_Uxyj8FzkoTU4", "dispatch_id": "AD_jNscQoURzHDY", "room": "voice_assistant_room… "room_id": "RM_SrXLnU4hU6nA", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_SrXLnU4hU6nA", "room": "voice_assistant_room_… "job_id": "AJ_Uxyj8FzkoTU4", "dispatch_id": "AD_jNscQoURzHDY", "enable_recording": false} INFO agent Job received: {"pid": 1449821, room=voice_assistant "job_id": _room_7457, "AJ_Uxyj8FzkoTU4", job_id=AJ_Uxyj8FzkoT "room_id": U4 "RM_SrXLnU4hU6nA"} INFO livekit.agents initializing process {"pid": 1794426} INFO agent Prewarming agent {"pid": 1794426} process... INFO livekit.agents process initialized {"pid": 1794426, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1794426} loaded DEBUG asyncio Using selector: {"pid": 1794426} EpollSelector 15:40:07 INFO agent [LATENCY] Startup: {"room": ctx.connect(): 684 "voice_assistant_room… ms (total since job: "pid": 1449821, 684 ms) "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1449821, , 'agent_voice', "job_id": 'agent_language', "AJ_Uxyj8FzkoTU4", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_SrXLnU4hU6nA"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=ELEVENLABS (from "pid": 1449821, agent_stt_provider / "job_id": agent_tts_provider) "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent TTS: ElevenLabs {"room": model=eleven_turbo_v "voice_assistant_room… 2_5 "pid": 1449821, voice=EXAVITQu4vr4xn "job_id": SDxMaL "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1449821, + LLM + "job_id": AgentSession): 859 ms "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1449821, listening "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1449821, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1449821, er` -> `RoomIO` "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1449821, (since connect): 339 "job_id": ms (total since job: "AJ_Uxyj8FzkoTU4", 1024 ms) "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_room… -> agent listening): "pid": 1449821, 1024 ms "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:08 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:09 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1449821, transcript='Hello.' "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1521 ms "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1449821, LLM/TTS timing) "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.1709887981414795, "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1449821, y "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.0063323974609375, "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1449821, text="['Hello.']"... "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:10 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1449821, File "job_id": "/var/www/html/liveki "AJ_Uxyj8FzkoTU4", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_SrXLnU4hU6nA"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there What can I help you with today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there What can I help you with today (body=None, retryable=True) 15:40:11 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:12 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there What can I help you with today (body=None, retryable=True) 15:40:13 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1449821, transcript='Hello?' "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1430 ms "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1449821, LLM/TTS timing) "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.132615089416504, "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1449821, y "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 7 ms "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1449821, text="['Hello?']"... "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:14 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1449821, File "job_id": "/var/www/html/liveki "AJ_Uxyj8FzkoTU4", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_SrXLnU4hU6nA"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) 15:40:16 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) 15:40:18 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1449821, recent call last): "job_id": File "AJ_Uxyj8FzkoTU4", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_SrXLnU4hU6nA"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1449821, text="['Hello there "job_id": How can I help you "AJ_Uxyj8FzkoTU4", today']"... "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1449821, 5488 ms "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:21 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:22 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1449821, transcript='Hello?' "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1337 ms "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1449821, LLM/TTS timing) "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.0890767574310303, "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1449821, y "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 3823 "pid": 1449821, ms "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.009608030319213867, "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1449821, text="['Hello?']"... "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:23 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1449821, File "job_id": "/var/www/html/liveki "AJ_Uxyj8FzkoTU4", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_SrXLnU4hU6nA"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again What’s on your mind today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again What’s on your mind today (body=None, retryable=True) 15:40:25 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again What’s on your mind today (body=None, retryable=True) 15:40:27 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1449821, recent call last): "job_id": File "AJ_Uxyj8FzkoTU4", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_SrXLnU4hU6nA"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again What’s on your mind today (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1449821, text="['Hello again "job_id": What’s on your mind "AJ_Uxyj8FzkoTU4", today']"... "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1449821, 5167 ms "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:28 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:29 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:30 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1449821, transcript='Hello?' "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1421 ms "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1449821, LLM/TTS timing) "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.0737066268920898, "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1449821, y "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 2766 "pid": 1449821, ms "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.00519251823425293, "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1449821, text="['Hello?']"... "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1449821, "job_id": "AJ_Uxyj8FzkoTU4", "room_id": "RM_SrXLnU4hU6nA"} 15:40:31 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1449821, File "job_id": "/var/www/html/liveki "AJ_Uxyj8FzkoTU4", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_SrXLnU4hU6nA"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SrXLnU4hU6nA"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi there Looks like we’re caught in a hello loop How can I break the cycle for you today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1449821, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Uxyj8FzkoTU4", env/lib/python3.10/si "room_id": 17:13:45 INFO livekit.agents received job request {"job_id": "AJ_BRDa8NZDZQEf", "dispatch_id": "AD_WSCEnB68T9Qa", "room": "voice_assistant_room… "room_id": "RM_SGxJ8TKwtL7K", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_SGxJ8TKwtL7K", "room": "voice_assistant_room_… "job_id": "AJ_BRDa8NZDZQEf", "dispatch_id": "AD_WSCEnB68T9Qa", "enable_recording": false} 17:13:46 INFO agent Job received: {"pid": 1415800, room=voice_assistant "job_id": _room_8101, "AJ_BRDa8NZDZQEf", job_id=AJ_BRDa8NZDZQ "room_id": Ef "RM_SGxJ8TKwtL7K"} INFO livekit.agents initializing process {"pid": 1918400} INFO agent Prewarming agent {"pid": 1918400} process... INFO livekit.agents process initialized {"pid": 1918400, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 1918400} loaded DEBUG asyncio Using selector: {"pid": 1918400} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 525 "voice_assistant_room… ms (total since job: "pid": 1415800, 525 ms) "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1415800, , 'agent_voice', "job_id": 'agent_language', "AJ_BRDa8NZDZQEf", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_SGxJ8TKwtL7K"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1415800, agent_stt_provider / "job_id": agent_tts_provider) "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1415800, cfc-8119-259a79b27e12 "job_id": language=en "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1415800, + LLM + "job_id": AgentSession): 659 ms "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1415800, listening "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1415800, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1415800, er` -> `RoomIO` "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1415800, (since connect): 143 "job_id": ms (total since job: "AJ_BRDa8NZDZQEf", 668 ms) "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1415800, 668 ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:13:47 ERROR asyncio Task exception was {"room": never retrieved "voice_assistant_roo… future: ._pre "RM_SGxJ8TKwtL7K"} warm_impl() done, defined at /var/www/html/livekit _frontend/BackEnd/age nt-starter-python/.ve nv/lib/python3.10/sit e-packages/livekit/ag ents/utils/connection _pool.py:165> exception=WSServerHan dshakeError(RequestIn fo(url=URL('wss://api .cartesia.ai/tts/webs ocket?api_key=sk_car_ 1HjSZTLBzape2ToTfTCC4 a&cartesia_version=20 25-04-16'), method='GET', headers=, real_url=URL('wss://a pi.cartesia.ai/tts/we bsocket?api_key=sk_ca r_1HjSZTLBzape2ToTfTC C4a&cartesia_version= 2025-04-16')), (), status=402, message='Invalid response status', headers=)> Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 168, in _prewarm_impl conn = await self._connect(timeout =self._connect_timeou t) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 62, in _connect connection = await self._connect_cb(time out) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 202, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/tts/websocket?a pi_key=sk_car_1HjSZTL Bzape2ToTfTCC4a&carte sia_version=2025-04-1 6' 17:13:50 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:13:51 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1415800, transcript='Hello.' "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1360 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415800, LLM/TTS timing) "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.1560719013214111, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415800, y "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005421638488769531, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:13:52 INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1415800, text="['Hello.']"... "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:13:55 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:13:57 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415800, recent call last): "job_id": File "AJ_BRDa8NZDZQEf", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_SGxJ8TKwtL7K"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415800, text="['Hello there! "job_id": How can I assist you "AJ_BRDa8NZDZQEf", today?']"... "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415800, 5765 ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:13:59 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:14:00 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1415800, transcript='Hello?' "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1291 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415800, LLM/TTS timing) "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.097254991531372, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415800, y "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 2672 "pid": 1415800, ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.006559371948242187… "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1415800, text="['Hello?']"... "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:14:01 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:14:03 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:14:05 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415800, recent call last): "job_id": File "AJ_BRDa8NZDZQEf", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_SGxJ8TKwtL7K"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415800, text="['Hi again! "job_id": What can I do for you "AJ_BRDa8NZDZQEf", today?']"... "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415800, 5515 ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:14:20 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=away "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:14:32 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:14:33 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1415800, transcript='Hello?' "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1287 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415800, LLM/TTS timing) "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.0854589939117432, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415800, y "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 27977 "pid": 1415800, ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005489349365234375, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1415800, text="['Hello?']"... "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:14:34 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:14:35 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:14:36 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:14:37 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1415800, transcript='Am I "job_id": audible? Hello.' "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1920 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415800, LLM/TTS timing) "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Am I audible? Hello.", "language": "eng", "transcript_delay": 1.1706113815307617, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415800, y "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 9 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 31819 "pid": 1415800, ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1415800, text="['Am I audible? "job_id": Hello.']"... "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:14:38 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:14:40 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:14:42 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415800, recent call last): "job_id": File "AJ_BRDa8NZDZQEf", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_SGxJ8TKwtL7K"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415800, text="['Loud and "job_id": clear! How can I help "AJ_BRDa8NZDZQEf", you today?']"... "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415800, 5316 ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:14:57 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=away "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:15:06 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:15:09 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1415800, transcript='Seven d "job_id": for me calm in that. "AJ_BRDa8NZDZQEf", Okay.' "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2706 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415800, LLM/TTS timing) "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Seven d for me calm in that. Okay.", "language": "eng", "transcript_delay": 1.2077372074127197, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415800, y "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 26723 "pid": 1415800, ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005665779113769531, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1415800, text="['Seven d for "job_id": me calm in that. "AJ_BRDa8NZDZQEf", Okay.']"... "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:15:10 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:15:12 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:15:13 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1415800, transcript='70.' "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_room… final): 191 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415800, LLM/TTS timing) "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "70.", "language": "eng", "transcript_delay": 0.14686155319213867, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:15:14 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415800, y "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 410 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 31367 "pid": 1415800, ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1415800, text="['70.']"... "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1415800, transcript='And keep "job_id": four mechanism.' "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415800, LLM/TTS timing) "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "And keep four mechanism.", "language": "eng", "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:15:15 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415800, y "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 110 ms "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 32089 "pid": 1415800, ms "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1415800, text="['And keep four "job_id": mechanism.']"... "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:15:18 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415800, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BRDa8NZDZQEf", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_SGxJ8TKwtL7K"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:15:20 ERROR livekit.agents AgentSession is {"room": closing due to "voice_assistant_roo… unrecoverable error "pid": 1415800, Traceback (most "job_id": recent call last): "AJ_BRDa8NZDZQEf", File "room_id": "/var/www/html/liveki "RM_SGxJ8TKwtL7K"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_MICROPHONE", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents stream closed {"room": "voice_assistant_room_8101", "participant": "voice_assistant_user_2157", "source": "SOURCE_MICROPHONE", "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} DEBUG livekit.agents session closed {"room": "voice_assistant_room_8101", "reason": "error", "error": "type='tts_error' timestamp=1774266320.5856452 label='livekit.plugins.cart… error=APIStatusError('Inval… response status') recoverable=False", "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:16:18 INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 17:16:40 DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO livekit.agents process exiting {"reason": "", "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_8101_1774266226681 Logged user message: Hello.... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Logged bot message: ['Hello there! How can I assist you today?']... (total messages: 2) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Logged user message: Hello?... (total messages: 3) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Logged bot message: ['Hi again! What can I do for you today?']... (total messages: 4) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Logged user message: Hello?... (total messages: 5) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Logged user message: Am I audible? Hello.... (total messages: 6) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Logged bot message: ['Loud and clear! How can I help you today?']... (total messages: 7) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Logged user message: Seven d for me calm in that. Okay.... (total messages: 8) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Logged user message: 70.... (total messages: 9) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Logged user message: And keep four mechanism.... (total messages: 10) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_8101_1774266226681.json - Messages: 10 - Duration: 174.30s INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1415800, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_BRDa8NZDZQEf", s/voice_assistant_roo "room_id": m_8101_1774266226681. "RM_SGxJ8TKwtL7K"} json DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1415800, "job_id": "AJ_BRDa8NZDZQEf", "room_id": "RM_SGxJ8TKwtL7K"} 10:48:18 INFO livekit.agents received job request {"job_id": "AJ_pYKTDTqTPK6M", "dispatch_id": "AD_4xUFnnn4FYPJ", "room": "voice_assistant_room… "room_id": "RM_4WofzxetSBWG", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_4WofzxetSBWG", "room": "voice_assistant_room_… "job_id": "AJ_pYKTDTqTPK6M", "dispatch_id": "AD_4xUFnnn4FYPJ", "enable_recording": false} INFO agent Job received: {"pid": 1415798, room=voice_assistant_ "job_id": room_241, "AJ_pYKTDTqTPK6M", job_id=AJ_pYKTDTqTPK6 "room_id": M "RM_4WofzxetSBWG"} INFO livekit.agents initializing process {"pid": 2721917} INFO agent Prewarming agent {"pid": 2721917} process... INFO agent [LATENCY] Startup: {"room": ctx.connect(): 251 "voice_assistant_room… ms (total since job: "pid": 1415798, 251 ms) "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1415798, , 'agent_voice', "job_id": 'agent_language', "AJ_pYKTDTqTPK6M", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_4WofzxetSBWG"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1415798, agent_stt_provider / "job_id": agent_tts_provider) "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1415798, cfc-8119-259a79b27e12 "job_id": language=en "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent Prewarm complete - VAD {"pid": 2721917} loaded INFO livekit.agents process initialized {"pid": 2721917, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 2721917} EpollSelector INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1415798, + LLM + "job_id": AgentSession): 403 ms "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1415798, listening "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1415798, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1415798, er` -> `RoomIO` "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1415798, (since connect): 162 "job_id": ms (total since job: "AJ_pYKTDTqTPK6M", 413 ms) "room_id": "RM_4WofzxetSBWG"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1415798, 413 ms "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} 10:48:19 ERROR asyncio Task exception was {"room": never retrieved "voice_assistant_roo… future: ._pre "RM_4WofzxetSBWG"} warm_impl() done, defined at /var/www/html/livekit _frontend/BackEnd/age nt-starter-python/.ve nv/lib/python3.10/sit e-packages/livekit/ag ents/utils/connection _pool.py:165> exception=WSServerHan dshakeError(RequestIn fo(url=URL('wss://api .cartesia.ai/tts/webs ocket?api_key=sk_car_ 1HjSZTLBzape2ToTfTCC4 a&cartesia_version=20 25-04-16'), method='GET', headers=, real_url=URL('wss://a pi.cartesia.ai/tts/we bsocket?api_key=sk_ca r_1HjSZTLBzape2ToTfTC C4a&cartesia_version= 2025-04-16')), (), status=402, message='Invalid response status', headers=)> Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 168, in _prewarm_impl conn = await self._connect(timeout =self._connect_timeou t) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 62, in _connect connection = await self._connect_cb(time out) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 202, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/tts/websocket?a pi_key=sk_car_1HjSZTL Bzape2ToTfTCC4a&carte sia_version=2025-04-1 6' 10:48:20 DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} 10:48:27 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} 10:48:28 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1415798, transcript='Hello?' "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1489 ms "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1415798, LLM/TTS timing) "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.2857580184936523, "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1415798, y "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.00667572021484375, "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} 10:48:29 INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1415798, text="['Hello?']"... "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1415798, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_pYKTDTqTPK6M", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_4WofzxetSBWG"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1415798, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_pYKTDTqTPK6M", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_4WofzxetSBWG"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 10:48:32 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1415798, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_pYKTDTqTPK6M", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_4WofzxetSBWG"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 10:48:34 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1415798, recent call last): "job_id": File "AJ_pYKTDTqTPK6M", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_4WofzxetSBWG"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1415798, text="['Hello there "job_id": How can I help you "AJ_pYKTDTqTPK6M", today']"... "room_id": "RM_4WofzxetSBWG"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1415798, 5769 ms "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} 10:48:38 INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents stream closed {"room": "voice_assistant_room_241", "participant": "voice_assistant_user_3152", "source": "SOURCE_MICROPHONE", "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents session closed {"room": "voice_assistant_room_241", "reason": "participant_disconnected", "error": null, "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_241_1774329498961 Logged user message: Hello?... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_241_1774329498961.json Logged bot message: ['Hello there How can I help you today']... (total messages: 2) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_241_1774329498961.json Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_241_1774329498961.json - Messages: 2 - Duration: 44.09s 10:49:03 INFO livekit.agents process exiting {"reason": "", "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1415798, "job_id": "AJ_pYKTDTqTPK6M", "room_id": "RM_4WofzxetSBWG"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1415798, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_pYKTDTqTPK6M", s/voice_assistant_roo "room_id": m_241_1774329498961.j "RM_4WofzxetSBWG"} son 21:24:37 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:24:38 WARNI… livekit.agents failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://test-voice-bot-fd6qy6cu.liveki t.cloud/agent' 21:24:45 WARNI… livekit.agents failed to connect to livekit, retrying in 4s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://test-voice-bot-fd6qy6cu.liveki t.cloud/agent' 21:24:49 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_neKdGJsmMZWb", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:46:09 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_AzjQvE5rhKJ6", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 19:45:50 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_467ozK9HqUjD", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:13:02 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_mm3Ubs4XW4aP", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 20:36:15 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_NPfstaDg4oWP", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:36:51 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_rqjJpCyfKSBu", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:43:12 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 00:43:13 WARNI… livekit.agents failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://test-voice-bot-fd6qy6cu.liveki t.cloud/agent' 00:43:15 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_LNsAwhaU97hi", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:36:45 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 22:36:47 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_H6LDSQpjikWZ", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 20:21:52 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_anpM4uirfLvF", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 04:35:34 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_TahHwFtpi3Ls", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:57:55 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Xy8Hf3Udmyoo", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 04:45:27 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 04:45:28 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_AQTTe6fRuocR", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:36:26 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 14:36:28 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_FWtfVcsKMQrt", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:58:36 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_UjMSTKBkbGbA", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 02:53:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_vM9gXGJEdPbx", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 08:02:54 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_3wQyLu7Btp2q", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 11:25:10 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_3NDVcdu4PZvY", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:47:48 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_m6Wzp2iKzrvq", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:37:23 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_agnjpZJ8UHHY", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:01:40 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:01:41 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_zVcNaz4CVqiX", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:07:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:07:31 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_sFnFngHKRQms", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 17:02:23 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 17:02:24 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_AKcpmRxGNzbi", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:32:53 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_cZExPt3DYLv8", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:08:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_MhEKPgPCwERy", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 13:44:23 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 13:44:28 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_YRGvc92P5y2a", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:39:46 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_RcFQgpgPKHWa", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 03:30:59 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_pnjuXDpcwxzj", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 18:50:46 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_UAxGoTfLGMQ8", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 05:04:44 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 05:04:45 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_yzKfRdpDjRCH", "url": "wss://test-voice-bot-fd… "region": "Germany 2", "protocol": 17} 19:13:32 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_uvk6ZQuTacwN", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:04:45 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:04:46 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_vCcUDQsKd2t2", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:10:58 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_9iX9PAvLtD2K", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 20:32:11 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_XSTG272Jk3EN", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 04:58:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_wkjTQPrMbi2b", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 12:33:07 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 12:33:12 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_8HAdqVhDSsYZ", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 14:20:47 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_BTdKtH3VKhoi", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 17:53:37 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Mup5crQsXHmG", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 19:58:23 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_cY2tN4xLjzB7", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 22:21:46 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_HWi4MJZzaysV", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1452469, File "job_id": "/var/www/html/liveki "AJ_sZDnaf68Z2bL", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_4Dqks2pn2XVp"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1452469, recent call last): "job_id": File "AJ_sZDnaf68Z2bL", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_4Dqks2pn2XVp"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1452469, text="['Hello hello! "job_id": Looks like you’re "AJ_sZDnaf68Z2bL", trying to get my "room_id": attention—I’m here "RM_4Dqks2pn2XVp"} and ready t"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1452469, 1379 ms "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} 16:30:18 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} 16:30:19 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} 16:30:20 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1452469, transcript='Hello.' "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1423 ms "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452469, LLM/TTS timing) "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.1718847751617432, "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452469, y "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 2730 "pid": 1452469, ms "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.004914522171020508, "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1452469, text="['Hello.']"... "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} 16:30:23 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1452469, File "job_id": "/var/www/html/liveki "AJ_sZDnaf68Z2bL", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_4Dqks2pn2XVp"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452469, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_sZDnaf68Z2bL", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_4Dqks2pn2XVp"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hey! Nice to hear from you. What would you like to talk about today? (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452469, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_sZDnaf68Z2bL", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_4Dqks2pn2XVp"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hey! Nice to hear from you. What would you like to talk about today? (body=None, retryable=True) 16:30:25 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1452469, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_sZDnaf68Z2bL", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_4Dqks2pn2XVp"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hey! Nice to hear from you. What would you like to talk about today? (body=None, retryable=True) 16:30:26 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} 16:30:27 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1452469, recent call last): "job_id": File "AJ_sZDnaf68Z2bL", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_4Dqks2pn2XVp"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hey! Nice to hear from you. What would you like to talk about today? (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1452469, text="['Hey! Nice to "job_id": hear from you. What "AJ_sZDnaf68Z2bL", would you like to "room_id": talk about "RM_4Dqks2pn2XVp"} today?']"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1452469, 7386 ms "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1452469, transcript="Now "job_id": you've got to do "AJ_sZDnaf68Z2bL", something." "room_id": "RM_4Dqks2pn2XVp"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2703 ms "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452469, LLM/TTS timing) "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Now you've got to do something.", "language": "eng", "transcript_delay": 1.6532776355743408, "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452469, y "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 196 ms "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005023956298828125, "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1452469, text='["Now you\'ve "job_id": got to do "AJ_sZDnaf68Z2bL", something."]'... "room_id": "RM_4Dqks2pn2XVp"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} 16:30:30 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1452469, File "job_id": "/var/www/html/liveki "AJ_sZDnaf68Z2bL", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_4Dqks2pn2XVp"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1452469, File "job_id": "/var/www/html/liveki "AJ_sZDnaf68Z2bL", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_4Dqks2pn2XVp"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1452469, recent call last): "job_id": File "AJ_sZDnaf68Z2bL", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_4Dqks2pn2XVp"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return 16:30:55 INFO livekit.agents received job request {"job_id": "AJ_MAubY893UCW3", "dispatch_id": "AD_bbJofeLHXbNZ", "room": "voice_assistant_room… "room_id": "RM_dVpj8pHFEaR2", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_dVpj8pHFEaR2", "room": "voice_assistant_room_… "job_id": "AJ_MAubY893UCW3", "dispatch_id": "AD_bbJofeLHXbNZ", "enable_recording": false} INFO agent Job received: {"pid": 1413207, room=voice_assistant "job_id": _room_1554, "AJ_MAubY893UCW3", job_id=AJ_MAubY893UC "room_id": W3 "RM_dVpj8pHFEaR2"} INFO livekit.agents initializing process {"pid": 1874569} INFO agent Prewarming agent {"pid": 1874569} process... INFO livekit.agents process initialized {"pid": 1874569, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1874569} loaded DEBUG asyncio Using selector: {"pid": 1874569} EpollSelector 16:30:56 INFO agent [LATENCY] Startup: {"room": ctx.connect(): 551 "voice_assistant_room… ms (total since job: "pid": 1413207, 551 ms) "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1413207, , 'agent_voice', "job_id": 'agent_language', "AJ_MAubY893UCW3", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_dVpj8pHFEaR2"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=ELEVENLABS (from "pid": 1413207, agent_stt_provider / "job_id": agent_tts_provider) "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent TTS: ElevenLabs {"room": model=eleven_turbo_v "voice_assistant_room… 2_5 "pid": 1413207, voice=EXAVITQu4vr4xn "job_id": SDxMaL "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1413207, + LLM + "job_id": AgentSession): 722 ms "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1413207, listening "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1413207, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1413207, er` -> `RoomIO` "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1413207, (since connect): 179 "job_id": ms (total since job: "AJ_MAubY893UCW3", 730 ms) "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1413207, 730 ms "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} 16:30:58 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} 16:30:59 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413207, transcript="Hey, I'm "job_id": audible. Hello?" "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2897 ms "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413207, LLM/TTS timing) "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hey, I'm audible. Hello?", "language": "eng", "transcript_delay": 1.3161990642547607, "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413207, y "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.006101369857788086, "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413207, text='["Hey, I\'m "job_id": audible. Hello?"]'... "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} 16:31:00 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} 16:31:01 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413207, transcript='(mouth "job_id": clicking) Yeah.' "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1226 ms "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413207, LLM/TTS timing) "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "(mouth clicking) Yeah.", "language": "eng", "transcript_delay": 1.2251136302947998, "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413207, y "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> "voice_assistant_room… first audio): 16 ms "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413207, text="['(mouth "job_id": clicking) Yeah.']"... "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} 16:31:02 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413207, File "job_id": "/var/www/html/liveki "AJ_MAubY893UCW3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_dVpj8pHFEaR2"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1413207, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MAubY893UCW3", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_dVpj8pHFEaR2"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hey audible I hear you loud and clear What's on your mind today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1413207, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MAubY893UCW3", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_dVpj8pHFEaR2"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hey audible I hear you loud and clear What's on your mind today (body=None, retryable=True) INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} 16:31:03 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} 16:31:04 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1413207, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_MAubY893UCW3", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_dVpj8pHFEaR2"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hey audible I hear you loud and clear What's on your mind today (body=None, retryable=True) INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413207, transcript='It should "job_id": be a video.' "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1993 ms "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413207, LLM/TTS timing) "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "It should be a video.", "language": "eng", "transcript_delay": 1.246450662612915, "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413207, y "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> "voice_assistant_room… first audio): 13 ms "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413207, text="['It should be "job_id": a video.']"... "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413207, "job_id": "AJ_MAubY893UCW3", "room_id": "RM_dVpj8pHFEaR2"} 16:31:06 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413207, File "job_id": "/var/www/html/liveki "AJ_MAubY893UCW3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_dVpj8pHFEaR2"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413207, File "job_id": "/var/www/html/liveki "AJ_MAubY893UCW3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_dVpj8pHFEaR2"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413207, recent call last): "job_id": File "AJ_MAubY893UCW3", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_dVpj8pHFEaR2"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: 16:31:08 INFO livekit.agents process exiting {"reason": "", "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_3489_1774263596434 Logged user message: (music)... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged user message: Hello?... (total messages: 2) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged bot message: ['Hello there! What kind of music are you in the m... (total messages: 3) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged user message: Hello?... (total messages: 4) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged bot message: ['Hi again! How can I help you today?']... (total messages: 5) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged user message: Hello?... (total messages: 6) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged bot message: ['Hello hello! Looks like you’re trying to get my ... (total messages: 7) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged user message: Hello.... (total messages: 8) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged bot message: ['Hey! Nice to hear from you. What would you like ... (total messages: 9) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged user message: Now you've got to do something.... (total messages: 10) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged bot message: ['Got it! What would you like me to do? Ask me any... (total messages: 11) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged user message: Say it. (laughs)... (total messages: 12) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged user message: Costa Ball.... (total messages: 13) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Logged bot message: ['Costa Ball! Sounds like a fun name or maybe a ne... (total messages: 14) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_3489_1774263596434.json - Messages: 14 - Duration: 72.32s DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1452469, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_sZDnaf68Z2bL", s/voice_assistant_roo "room_id": m_3489_1774263596434. "RM_4Dqks2pn2XVp"} json DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} WARNI… livekit.plugins… websocket closed {"room": unexpectedly "voice_assistant_roo… "pid": 1452469, "job_id": "AJ_sZDnaf68Z2bL", "room_id": "RM_4Dqks2pn2XVp"} 16:53:55 INFO livekit.agents received job request {"job_id": "AJ_ZNgJ9bBLLTUt", "dispatch_id": "AD_NPuj2qCWiUDg", "room": "voice_assistant_room… "room_id": "RM_hvTMSAvCZmDd", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_hvTMSAvCZmDd", "room": "voice_assistant_room_… "job_id": "AJ_ZNgJ9bBLLTUt", "dispatch_id": "AD_NPuj2qCWiUDg", "enable_recording": false} INFO agent Job received: {"pid": 1452471, room=voice_assistant "job_id": _room_7134, "AJ_ZNgJ9bBLLTUt", job_id=AJ_ZNgJ9bBLLT "room_id": Ut "RM_hvTMSAvCZmDd"} INFO livekit.agents initializing process {"pid": 1896309} INFO agent Prewarming agent {"pid": 1896309} process... 16:53:56 INFO agent Prewarm complete - VAD {"pid": 1896309} loaded INFO livekit.agents process initialized {"pid": 1896309, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 1896309} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 519 "voice_assistant_room… ms (total since job: "pid": 1452471, 519 ms) "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1452471, , "job_id": 'agent_first_message' "AJ_ZNgJ9bBLLTUt", , 'agent_voice', "room_id": 'agent_language', "RM_hvTMSAvCZmDd"} 'agent_llm_model', 'agent_stt_model', 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=CARTESIA, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1452471, agent_stt_provider / "job_id": agent_tts_provider) "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent STT: Cartesia {"room": model=ink-whisper "voice_assistant_roo… language=en "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1452471, cfc-8119-259a79b27e12 "job_id": language=en "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1452471, + LLM + "job_id": AgentSession): 674 ms "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent [EVENT] {"room": speech_created "voice_assistant_roo… source=say "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent First message spoken: {"room": hello "voice_assistant_roo… "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1452471, listening "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1452471, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1452471, er` -> `RoomIO` "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1452471, (since connect): 165 "job_id": ms (total since job: "AJ_ZNgJ9bBLLTUt", 685 ms) "room_id": "RM_hvTMSAvCZmDd"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1452471, 685 ms "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} --- Logging error --- Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/ipc/log_queue.py", line 105, in emit self._send_q.put_nowait(pickle.dumps(record)) TypeError: can't pickle multidict._multidict.CIMultiDictProxy objects Call stack: File "", line 1, in File "/usr/lib/python3.10/multiprocessing/forkserver.py", line 274, in main code = _serve_one(child_r, fds, File "/usr/lib/python3.10/multiprocessing/forkserver.py", line 313, in _serve_one code = spawn._main(child_r, parent_sentinel) File "/usr/lib/python3.10/multiprocessing/spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/ipc/job_proc_lazy_main.py", line 77, in proc_main client.run() File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/ipc/proc_client.py", line 70, in run loop.run_until_complete(self._task) File "/usr/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete self.run_forever() File "/usr/lib/python3.10/asyncio/base_events.py", line 603, in run_forever self._run_once() File "/usr/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/voice/agent_session.py", line 841, in _aclose_impl logger.debug("session closed", extra={"reason": reason.value, "error": error}) File "/usr/lib/python3.10/logging/__init__.py", line 1465, in debug self._log(DEBUG, msg, args, **kwargs) File "/usr/lib/python3.10/logging/__init__.py", line 1624, in _log self.handle(record) File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle self.callHandlers(record) File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers hdlr.handle(record) File "/usr/lib/python3.10/logging/__init__.py", line 968, in handle self.emit(record) File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/ipc/log_queue.py", line 108, in emit self.handleError(record) Message: 'session closed' Arguments: None ERROR asyncio Task exception was {"room": never retrieved "voice_assistant_roo… future: ._pre "RM_hvTMSAvCZmDd"} warm_impl() done, defined at /var/www/html/livekit _frontend/BackEnd/age nt-starter-python/.ve nv/lib/python3.10/sit e-packages/livekit/ag ents/utils/connection _pool.py:165> exception=WSServerHan dshakeError(RequestIn fo(url=URL('wss://api .cartesia.ai/tts/webs ocket?api_key=sk_car_ 1HjSZTLBzape2ToTfTCC4 a&cartesia_version=20 25-04-16'), method='GET', headers=, real_url=URL('wss://a pi.cartesia.ai/tts/we bsocket?api_key=sk_ca r_1HjSZTLBzape2ToTfTC C4a&cartesia_version= 2025-04-16')), (), status=402, message='Invalid response status', headers=)> Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 168, in _prewarm_impl conn = await self._connect(timeout =self._connect_timeou t) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 62, in _connect connection = await self._connect_cb(time out) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 202, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/tts/websocket?a pi_key=sk_car_1HjSZTL Bzape2ToTfTCC4a&carte sia_version=2025-04-1 6' ERROR livekit.agents AgentSession is {"room": closing due to "voice_assistant_roo… unrecoverable error "pid": 1452471, Traceback (most "job_id": recent call last): "AJ_ZNgJ9bBLLTUt", File "room_id": "/var/www/html/liveki "RM_hvTMSAvCZmDd"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/stt/stt.py", line 289, in _main_task return await self._run() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/stt.p y", line 282, in _run ws = await self._connect_ws() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/stt.p y", line 332, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/stt/websocket?m odel=ink-whisper&samp le_rate=16000&encodin g=pcm_s16le&cartesia_ version=2025-04-16&ap i_key=sk_car_1HjSZTLB zape2ToTfTCC4a&langua ge=en' ERROR livekit.agents Error in _stt_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1452471, File "job_id": "/var/www/html/liveki "AJ_ZNgJ9bBLLTUt", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_hvTMSAvCZmDd"} env/lib/python3.10/si te-packages/livekit/a gents/stt/stt.py", line 408, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/audio_rec ognition.py", line 624, in _stt_task async for ev in node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 390, in stt_node async for event in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/stt/stt.py", line 411, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/stt/stt.py", line 289, in _main_task return await self._run() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/stt.p y", line 282, in _run ws = await self._connect_ws() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/stt.p y", line 332, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/stt/websocket?m odel=ink-whisper&samp le_rate=16000&encodin g=pcm_s16le&cartesia_ version=2025-04-16&ap i_key=sk_car_1HjSZTLB zape2ToTfTCC4a&langua ge=en' DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_MICROPHONE", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} DEBUG livekit.agents stream closed {"room": "voice_assistant_room_7134", "participant": "voice_assistant_user_2350", "source": "SOURCE_MICROPHONE", "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} 16:55:39 INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} 16:56:03 INFO livekit.agents process exiting {"reason": "", "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_7134_1774265036451 Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7134_1774265036451.json - Messages: 0 - Duration: 127.29s DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1452471, "job_id": "AJ_ZNgJ9bBLLTUt", "room_id": "RM_hvTMSAvCZmDd"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1452471, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_ZNgJ9bBLLTUt", s/voice_assistant_roo "room_id": m_7134_1774265036451. "RM_hvTMSAvCZmDd"} json 17:02:29 INFO livekit.agents received job request {"job_id": "AJ_BYofsBfZLZey", "dispatch_id": "AD_KfnPYRY8eAFu", "room": "voice_assistant_room… "room_id": "RM_KFwV2dn66wDY", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_KFwV2dn66wDY", "room": "voice_assistant_room_… "job_id": "AJ_BYofsBfZLZey", "dispatch_id": "AD_KfnPYRY8eAFu", "enable_recording": false} INFO agent Job received: {"pid": 1452475, room=voice_assistant "job_id": _room_7081, "AJ_BYofsBfZLZey", job_id=AJ_BYofsBfZLZ "room_id": ey "RM_KFwV2dn66wDY"} INFO livekit.agents initializing process {"pid": 1904195} 17:02:30 INFO agent Prewarming agent {"pid": 1904195} process... INFO livekit.agents process initialized {"pid": 1904195, "elapsed_time": 0.28} INFO agent Prewarm complete - VAD {"pid": 1904195} loaded DEBUG asyncio Using selector: {"pid": 1904195} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 520 "voice_assistant_room… ms (total since job: "pid": 1452475, 520 ms) "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1452475, , 'agent_voice', "job_id": 'agent_language', "AJ_BYofsBfZLZey", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_KFwV2dn66wDY"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1452475, agent_stt_provider / "job_id": agent_tts_provider) "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1452475, cfc-8119-259a79b27e12 "job_id": language=en "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1452475, + LLM + "job_id": AgentSession): 690 ms "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1452475, listening "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1452475, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1452475, er` -> `RoomIO` "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1452475, (since connect): 335 "job_id": ms (total since job: "AJ_BYofsBfZLZey", 855 ms) "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1452475, 855 ms "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} ERROR asyncio Task exception was {"room": never retrieved "voice_assistant_roo… future: ._pre "RM_KFwV2dn66wDY"} warm_impl() done, defined at /var/www/html/livekit _frontend/BackEnd/age nt-starter-python/.ve nv/lib/python3.10/sit e-packages/livekit/ag ents/utils/connection _pool.py:165> exception=WSServerHan dshakeError(RequestIn fo(url=URL('wss://api .cartesia.ai/tts/webs ocket?api_key=sk_car_ 1HjSZTLBzape2ToTfTCC4 a&cartesia_version=20 25-04-16'), method='GET', headers=, real_url=URL('wss://a pi.cartesia.ai/tts/we bsocket?api_key=sk_ca r_1HjSZTLBzape2ToTfTC C4a&cartesia_version= 2025-04-16')), (), status=402, message='Invalid response status', headers=)> Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 168, in _prewarm_impl conn = await self._connect(timeout =self._connect_timeou t) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 62, in _connect connection = await self._connect_cb(time out) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 202, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/tts/websocket?a pi_key=sk_car_1HjSZTL Bzape2ToTfTCC4a&carte sia_version=2025-04-1 6' 17:02:31 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:02:32 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1452475, transcript='Hello.' "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1334 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452475, LLM/TTS timing) "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.181323766708374, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452475, y "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 2 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.009201765060424805, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1452475, text="['Hello.']"... "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:02:33 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:02:35 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:02:37 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1452475, recent call last): "job_id": File "AJ_BYofsBfZLZey", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_KFwV2dn66wDY"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1452475, text="['Hey there! "job_id": What can I do for you "AJ_BYofsBfZLZey", today?']"... "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1452475, 5588 ms "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:02:38 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:02:39 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1452475, transcript='Hello.' "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1550 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452475, LLM/TTS timing) "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.1035196781158447, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452475, y "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 1982 "pid": 1452475, ms "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005732059478759766, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1452475, text="['Hello.']"... "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:02:40 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:02:42 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:02:45 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1452475, recent call last): "job_id": File "AJ_BYofsBfZLZey", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_KFwV2dn66wDY"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1452475, text="['Hello again! "job_id": What’s on your "AJ_BYofsBfZLZey", mind?']"... "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1452475, 5403 ms "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:02:49 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:02:50 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:02:51 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1452475, transcript='Hello?' "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1264 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452475, LLM/TTS timing) "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.0586960315704346, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452475, y "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 5956 "pid": 1452475, ms "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005513668060302734, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1452475, text="['Hello?']"... "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:02:54 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:02:56 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1452475, recent call last): "job_id": File "AJ_BYofsBfZLZey", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_KFwV2dn66wDY"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1452475, text="['Hello hello! "job_id": Ready when you are. "AJ_BYofsBfZLZey", What’s up?']"... "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1452475, 5376 ms "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:03:11 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=away "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:04:01 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:04:02 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1452475, transcript='Venkat?' "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1485 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452475, LLM/TTS timing) "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Venkat?", "language": "eng", "transcript_delay": 1.0880661010742188, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452475, y "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 66147 "pid": 1452475, ms "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.004678249359130859, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1452475, text="['Venkat?']"... "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:04:03 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:04:04 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:04:06 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:04:07 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1452475, transcript='Have we "job_id": started IVRS and "AJ_BYofsBfZLZey", process priority?' "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 4053 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452475, LLM/TTS timing) "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Have we started IVRS and process priority?", "language": "eng", "transcript_delay": 1.2498295307159424, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452475, y "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 7 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 71370 "pid": 1452475, ms "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1452475, text="['Have we "job_id": started IVRS and "AJ_BYofsBfZLZey", process "room_id": priority?']"... "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:04:08 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:04:09 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:04:10 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1452475, transcript='When "job_id": would we start, my "AJ_BYofsBfZLZey", friend? When-- "room_id": (laughs)' "RM_KFwV2dn66wDY"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2510 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1452475, LLM/TTS timing) "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "When would we start, my friend? When-- (laughs)", "language": "eng", "transcript_delay": 1.2624797821044922, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1452475, y "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 7 ms "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 74282 "pid": 1452475, ms "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1452475, text="['When would we "job_id": start, my friend? "AJ_BYofsBfZLZey", When-- (laughs)']"... "room_id": "RM_KFwV2dn66wDY"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:04:11 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) 17:04:13 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:04:14 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.car… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1452475, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_BYofsBfZLZey", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_KFwV2dn66wDY"} gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:04:16 ERROR livekit.agents AgentSession is {"room": closing due to "voice_assistant_roo… unrecoverable error "pid": 1452475, Traceback (most "job_id": recent call last): "AJ_BYofsBfZLZey", File "room_id": "/var/www/html/liveki "RM_KFwV2dn66wDY"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 396, in _main_task await self._run(output_emit ter) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 499, in _run raise APIStatusError( livekit.agents._excep tions.APIStatusError: Invalid response status (status_code=402, request_id=None, body=None, retryable=False) DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_MICROPHONE", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents stream closed {"room": "voice_assistant_room_7081", "participant": "voice_assistant_user_1432", "source": "SOURCE_MICROPHONE", "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} DEBUG livekit.agents session closed {"room": "voice_assistant_room_7081", "reason": "error", "error": "type='tts_error' timestamp=1774265656.7310436 label='livekit.plugins.cart… error=APIStatusError('Inval… response status') recoverable=False", "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:07:14 INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 17:07:35 DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_7081_1774265550632 Logged user message: Hello.... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json Logged bot message: ['Hey there! What can I do for you today?']... (total messages: 2) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json Logged user message: Hello.... (total messages: 3) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json Logged bot message: ['Hello again! What’s on your mind?']... (total messages: 4) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json Logged user message: Hello?... (total messages: 5) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json Logged bot message: ['Hello hello! Ready when you are. What’s up?']... (total messages: 6) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json Logged user message: Venkat?... (total messages: 7) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json Logged user message: Have we started IVRS and process priority?... (total messages: 8) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json Logged user message: When would we start, my friend? When-- (laughs)... (total messages: 9) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_7081_1774265550632.json - Messages: 9 - Duration: 304.46s INFO livekit.agents process exiting {"reason": "", "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1452475, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_BYofsBfZLZey", s/voice_assistant_roo "room_id": m_7081_1774265550632. "RM_KFwV2dn66wDY"} json DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1452475, "job_id": "AJ_BYofsBfZLZey", "room_id": "RM_KFwV2dn66wDY"} 21:24:37 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:24:42 WARNI… livekit.agents failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://test-voice-bot-fd6qy6cu.liveki t.cloud/agent' 21:24:48 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_ZffZt8xJjCYu", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:46:09 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_veJEP8zrjvBN", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 19:45:50 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_ygjdwewtXVPb", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:13:02 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_hMQxZ8aW6NaQ", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 13:14:48 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 13:14:52 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_dijsWbbRbfLs", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:33:07 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 14:33:09 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_6ePvhYT2Pboy", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:43:12 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 00:43:14 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_wdHTQSE4gZHz", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:36:45 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 22:36:47 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Q4xeKFN5avcf", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:34:47 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_zEzN2NwcXjve", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:57:35 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_DP8hLkcEtBZL", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:36:26 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_WdTfYFRCJkAR", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:58:42 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_V97TnCWwELGX", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 02:53:12 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_TvHK6pxqxbSA", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 08:02:54 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Ct2m4KYeCDWi", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:16:53 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_sa63tiCmWmpD", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 11:25:04 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_ZcSEB7tcLsVx", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:47:48 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_tvUM28qobut8", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 01:54:01 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_PiH4dmoYf6Qm", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:37:23 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_oocC42a6w5P8", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:01:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:01:25 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_N8FuXbhnuV3H", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 04:30:16 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_EHkLJC7KQaqg", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:07:38 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_JvA5EBB9vPiW", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 05:39:22 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 05:39:23 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_phpLM5Gwya66", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 17:02:23 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 17:02:24 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_BFtfg8R3RUKT", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:08:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_2FRVx8xfVMYH", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 11:28:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 11:28:31 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_RBLXXr7ukj4X", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 01:07:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_2CKvw9wKhgcR", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 13:44:23 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 13:44:28 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_LPxoKDpG4bR7", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:39:46 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_fSM5TEYqnaTu", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:10:12 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_LJPwkUBrF6Sz", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 17:50:56 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_cM7b8CRbfubC", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:09:33 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_osYSSY2yFWJu", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:04:51 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_iSDCEsDVweur", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:10:58 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_9mxX4nJF5epU", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 17:35:47 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_B88aEbUZdQLA", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 22:02:18 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 22:02:19 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_WkCyPyDzPLWh", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 12:33:15 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 12:33:20 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_P3X6wX82ZS8L", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 17:13:37 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_uhAogbBsk3aM", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 19:58:24 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_zaCT68gzVAfb", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 04:48:35 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_i3ZMNrJ3NJoC", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} r/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413387, recent call last): "job_id": File "AJ_kV7VaP23tDd3", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_xCnU56Wf23dz"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1413387, text="['Haha, "job_id": bolegarno? That’s a "AJ_kV7VaP23tDd3", new one for me! What "room_id": does it mean?']"... "RM_xCnU56Wf23dz"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1413387, 2266 ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413387, transcript='So, "job_id": (laughs) (speaks in "AJ_kV7VaP23tDd3", Hindi).' "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413387, LLM/TTS timing) "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "So, (laughs) (speaks in Hindi).", "language": "eng", "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413387, y "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 45 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.10320496559143066, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413387, text="['So, (laughs) "job_id": (speaks in "AJ_kV7VaP23tDd3", Hindi).']"... "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:41:51 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413387, recent call last): "job_id": File "AJ_kV7VaP23tDd3", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_xCnU56Wf23dz"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1413387, text="['Sounds like "job_id": you’re mixing things "AJ_kV7VaP23tDd3", up with some Hindi! "room_id": Want to share what "RM_xCnU56Wf23dz"} you sa"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1413387, 1337 ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:41:53 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:41:54 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:41:55 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1413387, transcript='Ööö.' "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_room… final): 356 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413387, LLM/TTS timing) "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Ööö.", "language": "eng", "transcript_delay": 0.009514331817626953, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413387, y "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 3580 "pid": 1413387, ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:41:56 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.792762041091919, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1413387, text="['Ööö.']"... "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413387, recent call last): "job_id": File "AJ_kV7VaP23tDd3", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_xCnU56Wf23dz"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1413387, text="['Sounds like "job_id": you’re thinking or "AJ_kV7VaP23tDd3", unsure—happens to the "room_id": best of us! Need help "RM_xCnU56Wf23dz"} wit"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1413387, 1367 ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413387, transcript='Anybody? "job_id": Anybody?' "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413387, LLM/TTS timing) "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Anybody? Anybody?", "language": "eng", "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413387, y "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 52 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:41:57 DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.10261368751525879, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413387, text="['Anybody? "job_id": Anybody?']"... "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:41:58 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1413387, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_kV7VaP23tDd3", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_xCnU56Wf23dz"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: I’m here! What do you need? (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1413387, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_kV7VaP23tDd3", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_xCnU56Wf23dz"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: I’m here! What do you need? (body=None, retryable=True) INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413387, transcript='The "job_id": Masjid.' "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1478 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413387, LLM/TTS timing) "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "The Masjid.", "language": "eng", "transcript_delay": 1.131014347076416, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413387, y "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 6 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 1711 "pid": 1413387, ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413387, text="['The "job_id": Masjid.']"... "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:41:59 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413387, recent call last): "job_id": File "AJ_kV7VaP23tDd3", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_xCnU56Wf23dz"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki 11:02:47 INFO livekit.agents received job request {"job_id": "AJ_jCSWUTLzTbEr", "dispatch_id": "AD_bcSgQCHNSaTy", "room": "voice_assistant_room… "room_id": "RM_MJgQg6LNpiqx", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_MJgQg6LNpiqx", "room": "voice_assistant_room_… "job_id": "AJ_jCSWUTLzTbEr", "dispatch_id": "AD_bcSgQCHNSaTy", "enable_recording": false} INFO agent Job received: {"pid": 1450204, room=voice_assistant "job_id": _room_2422, "AJ_jCSWUTLzTbEr", job_id=AJ_jCSWUTLzTb "room_id": Er "RM_MJgQg6LNpiqx"} INFO livekit.agents initializing process {"pid": 2076432} INFO agent Prewarming agent {"pid": 2076432} process... INFO livekit.agents process initialized {"pid": 2076432, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 2076432} loaded DEBUG asyncio Using selector: {"pid": 2076432} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 463 "voice_assistant_room… ms (total since job: "pid": 1450204, 463 ms) "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1450204, , 'agent_voice', "job_id": 'agent_language', "AJ_jCSWUTLzTbEr", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_MJgQg6LNpiqx"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=CARTESIA, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1450204, agent_stt_provider / "job_id": agent_tts_provider) "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} INFO agent STT: Cartesia {"room": model=ink-whisper "voice_assistant_roo… language=hi "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=f786b574-daa5-4 "pid": 1450204, 673-aa0c-cbe3e8534c02 "job_id": language=en "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1450204, + LLM + "job_id": AgentSession): 639 ms "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} 11:02:48 DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1450204, listening "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1450204, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1450204, er` -> `RoomIO` "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1450204, (since connect): 337 "job_id": ms (total since job: "AJ_jCSWUTLzTbEr", 800 ms) "room_id": "RM_MJgQg6LNpiqx"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1450204, 800 ms "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} 11:02:49 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} 11:02:50 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} --- Logging error --- Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/ipc/log_queue.py", line 105, in emit self._send_q.put_nowait(pickle.dumps(record)) TypeError: can't pickle multidict._multidict.CIMultiDictProxy objects Call stack: File "", line 1, in File "/usr/lib/python3.10/multiprocessing/forkserver.py", line 274, in main code = _serve_one(child_r, fds, File "/usr/lib/python3.10/multiprocessing/forkserver.py", line 313, in _serve_one code = spawn._main(child_r, parent_sentinel) File "/usr/lib/python3.10/multiprocessing/spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/ipc/job_proc_lazy_main.py", line 77, in proc_main client.run() File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/ipc/proc_client.py", line 70, in run loop.run_until_complete(self._task) File "/usr/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete self.run_forever() File "/usr/lib/python3.10/asyncio/base_events.py", line 603, in run_forever self._run_once() File "/usr/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once handle._run() File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/voice/agent_session.py", line 841, in _aclose_impl logger.debug("session closed", extra={"reason": reason.value, "error": error}) File "/usr/lib/python3.10/logging/__init__.py", line 1465, in debug self._log(DEBUG, msg, args, **kwargs) File "/usr/lib/python3.10/logging/__init__.py", line 1624, in _log self.handle(record) File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle self.callHandlers(record) File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers hdlr.handle(record) File "/usr/lib/python3.10/logging/__init__.py", line 968, in handle self.emit(record) File "/var/www/html/livekit_frontend/BackEnd/agent-starter-python/.venv/lib/python3.10/site-packages/livekit/agents/ipc/log_queue.py", line 108, in emit self.handleError(record) Message: 'session closed' Arguments: None ERROR livekit.agents AgentSession is {"room": closing due to "voice_assistant_roo… unrecoverable error "pid": 1450204, Traceback (most "job_id": recent call last): "AJ_jCSWUTLzTbEr", File "room_id": "/var/www/html/liveki "RM_MJgQg6LNpiqx"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/stt/stt.py", line 289, in _main_task return await self._run() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/stt.p y", line 282, in _run ws = await self._connect_ws() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/stt.p y", line 332, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/stt/websocket?m odel=ink-whisper&samp le_rate=16000&encodin g=pcm_s16le&cartesia_ version=2025-04-16&ap i_key=sk_car_1HjSZTLB zape2ToTfTCC4a&langua ge=hi' DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_MICROPHONE", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} DEBUG livekit.agents stream closed {"room": "voice_assistant_room_2422", "participant": "voice_assistant_user_2930", "source": "SOURCE_MICROPHONE", "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} ERROR asyncio Task exception was {"room": never retrieved "voice_assistant_roo… future: ._pre "RM_MJgQg6LNpiqx"} warm_impl() done, defined at /var/www/html/livekit _frontend/BackEnd/age nt-starter-python/.ve nv/lib/python3.10/sit e-packages/livekit/ag ents/utils/connection _pool.py:165> exception=WSServerHan dshakeError(RequestIn fo(url=URL('wss://api .cartesia.ai/tts/webs ocket?api_key=sk_car_ 1HjSZTLBzape2ToTfTCC4 a&cartesia_version=20 25-04-16'), method='GET', headers=, real_url=URL('wss://a pi.cartesia.ai/tts/we bsocket?api_key=sk_ca r_1HjSZTLBzape2ToTfTC C4a&cartesia_version= 2025-04-16')), (), status=402, message='Invalid response status', headers=)> Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 168, in _prewarm_impl conn = await self._connect(timeout =self._connect_timeou t) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/connectio n_pool.py", line 62, in _connect connection = await self._connect_cb(time out) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/p lugins/cartesia/tts.p y", line 202, in _connect_ws ws = await asyncio.wait_for( File "/usr/lib/python3.10/ asyncio/tasks.py", line 445, in wait_for return fut.result() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1494, in send return self._coro.send(arg) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/aiohttp/c lient.py", line 1093, in _ws_connect raise WSServerHandshakeErro r( aiohttp.client_except ions.WSServerHandshak eError: 402, message='Invalid response status', url='wss://api.cartes ia.ai/tts/websocket?a pi_key=sk_car_1HjSZTL Bzape2ToTfTCC4a&carte sia_version=2025-04-1 6' 11:02:59 INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} 11:03:23 INFO livekit.agents process exiting {"reason": "", "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_2422_1774589568021 Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2422_1774589568021.json - Messages: 0 - Duration: 35.74s DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1450204, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_jCSWUTLzTbEr", s/voice_assistant_roo "room_id": m_2422_1774589568021. "RM_MJgQg6LNpiqx"} json DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1450204, "job_id": "AJ_jCSWUTLzTbEr", "room_id": "RM_MJgQg6LNpiqx"} 22:23:39 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 22:23:40 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_NxHmTVJtCb7Y", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:15:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_KnoXyYwCior4", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:45:59 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_pJEtnd9qRsxM", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 19:45:50 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 19:45:54 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_yzkEHmCpyh45", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 05:51:29 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_gts4XBZtfnYr", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:12:54 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_5zBCFVT8ApwR", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 20:36:15 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 20:36:18 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_x3RWnkCsXxPg", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:43:08 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 00:43:13 WARNI… livekit.agents failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://test-voice-bot-fd6qy6cu.liveki t.cloud/agent' 00:43:15 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_8Xt3iH47837q", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:36:57 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_B35cJS8HsKjt", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:57:35 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_QHcASmYLYFnh", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:36:26 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Km9uDfVXepfP", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:58:42 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_hFiQTbuK9V9s", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 02:53:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_ZtLucizVqu4d", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 08:02:44 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_tZfP6Bbfra6i", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:16:53 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_zDtStVvPS9MX", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 11:25:10 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Ja3a7pAa9rUM", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:47:48 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_c9SKRiRKkDZU", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 01:36:59 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_eAenwiUSVSsP", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:01:40 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:01:41 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_bihGZgx46UKe", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:07:38 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_UyJtpCL9E4X3", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 03:52:09 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_S57qYQrAKuWV", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:08:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_RduKXXGXHSSq", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 05:25:04 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 05:25:05 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_sdLUZymJUeTF", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 01:07:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_rq4jMppGhpuD", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 05:07:18 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_q7EjwBGQokVe", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:39:46 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_bFPqv5xUJpnj", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 04:21:04 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_C47hgazdprG9", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 17:50:56 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_oQ2bznsN4weW", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 20:31:13 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 20:31:14 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_5E7i9FufEPHp", "url": "wss://test-voice-bot-fd… "region": "Germany 2", "protocol": 17} 08:06:38 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 08:06:39 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_tYDhGbFHqyK6", "url": "wss://test-voice-bot-fd… "region": "Germany 2", "protocol": 17} 14:39:06 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 14:39:07 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_vmrDqEYMSQ3N", "url": "wss://test-voice-bot-fd… "region": "Germany 2", "protocol": 17} 08:37:33 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 08:37:34 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_KZy9w8HE7XqK", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 15:21:40 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_eofyfBeZqpF4", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 21:24:57 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:24:58 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_f2peaPoC6weW", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 05:50:10 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 05:50:11 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_jmZSf7TVR76J", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. 10:42:18 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413387, recent call last): "job_id": File "AJ_kV7VaP23tDd3", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_xCnU56Wf23dz"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1413387, text="['Samajh gaya "job_id": bhai, lagta hai voice "AJ_kV7VaP23tDd3", bot respond nahi kar "room_id": raha. Kabhi-kabhi "RM_xCnU56Wf23dz"} netwo"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1413387, 1898 ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413387, transcript='There you "job_id": go.' "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_room… final): 273 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413387, LLM/TTS timing) "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "There you go.", "language": "eng", "transcript_delay": 0.0748908519744873, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413387, y "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 188 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:19 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413387, recent call last): "job_id": File "AJ_kV7VaP23tDd3", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_xCnU56Wf23dz"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. 10:42:23 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 4.43397331237793, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413387, text="['There you "job_id": go.']"... "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1413387, text="['Great, thanks "job_id": for the info! Let me "AJ_kV7VaP23tDd3", know if you want me "room_id": to help with anything "RM_xCnU56Wf23dz"} e"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1413387, 4440 ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413387, transcript="Input "job_id": layer output. This is "AJ_kV7VaP23tDd3", not my fault. No, no, "room_id": it's not your fault." "RM_xCnU56Wf23dz"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413387, LLM/TTS timing) "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Input layer output. This is not my fault. No, no, it's not your fault.", "language": "eng", "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413387, y "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 867 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:24 DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.10253548622131348, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413387, text='["Input layer "job_id": output. This is not "AJ_kV7VaP23tDd3", my fault. No, no, "room_id": it\'s not your "RM_xCnU56Wf23dz"} fault."]'... INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:25 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413387, recent call last): "job_id": File "AJ_kV7VaP23tDd3", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_xCnU56Wf23dz"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1413387, text="['Sounds like "job_id": some tech talk and a "AJ_kV7VaP23tDd3", bit of back and "room_id": forth—don’t worry, "RM_xCnU56Wf23dz"} sometimes "... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1413387, 1630 ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:26 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:27 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:28 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1413387, transcript='Call "job_id": ID.' "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1588 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413387, LLM/TTS timing) "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Call ID.", "language": "eng", "transcript_delay": 1.1382336616516113, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413387, y "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 2979 "pid": 1413387, ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.006139516830444336, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1413387, text="['Call "job_id": ID.']"... "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:29 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1413387, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_kV7VaP23tDd3", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_xCnU56Wf23dz"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Please provide the Call ID you want me to check, and I’ll see what I can do. (body=None, retryable=True) INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1413387, transcript='Sit "job_id": down-' "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1334 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1413387, LLM/TTS timing) "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Sit down-", "language": "eng", "transcript_delay": 1.1389050483703613, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1413387, y "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 8 ms "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 4383 "pid": 1413387, ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1413387, text="['Sit "job_id": down-']"... "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:30 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:31 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1413387, File "job_id": "/var/www/html/liveki "AJ_kV7VaP23tDd3", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_xCnU56Wf23dz"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1413387, recent call last): "job_id": File "AJ_kV7VaP23tDd3", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_xCnU56Wf23dz"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1413387, text="['Got the call "job_id": ID part. Just let me "AJ_kV7VaP23tDd3", know the full details "room_id": or what you want me "RM_xCnU56Wf23dz"} to"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1413387, 1354 ms "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:33 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents stream closed {"room": "voice_assistant_room_2720", "participant": "voice_assistant_user_6677", "source": "SOURCE_MICROPHONE", "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} DEBUG livekit.agents session closed {"room": "voice_assistant_room_2720", "reason": "participant_disconnected", "error": null, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 10:42:58 INFO livekit.agents process exiting {"reason": "", "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_2720_1774329098429 Logged user message: (laughs)... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Glad to hear you’re laughing! What’s got you in ... (total messages: 2) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: You're bolegarno.... (total messages: 3) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Haha, bolegarno? That’s a new one for me! What d... (total messages: 4) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: So, (laughs) (speaks in Hindi).... (total messages: 5) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Sounds like you’re mixing things up with some Hi... (total messages: 6) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: Ööö.... (total messages: 7) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Sounds like you’re thinking or unsure—happens to... (total messages: 8) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: Anybody? Anybody?... (total messages: 9) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: The Masjid.... (total messages: 10) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Are you referring to a specific masjid or mosque... (total messages: 11) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: I need a little help. Can you...? (clicks tongue)... (total messages: 12) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Sure, I’m here to help! What do you need a littl... (total messages: 13) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: Check, uh, the voice bot is not working for Superd... (total messages: 14) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: I'll give you the numbers.... (total messages: 15) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Got it, the voice bot for Superdash is not worki... (total messages: 16) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: Can you check the DID once?... (total messages: 17) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Absolutely, go ahead and give me the numbers. I’... (total messages: 18) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: Respond ni kar raha hai bhai, fir se tera woh yeh ... (total messages: 19) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Samajh gaya bhai, lagta hai voice bot respond na... (total messages: 20) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: There you go.... (total messages: 21) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Great, thanks for the info! Let me know if you w... (total messages: 22) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: Input layer output. This is not my fault. No, no, ... (total messages: 23) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Sounds like some tech talk and a bit of back and... (total messages: 24) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: Call ID.... (total messages: 25) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged user message: Sit down-... (total messages: 26) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Logged bot message: ['Got the call ID part. Just let me know the full ... (total messages: 27) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2720_1774329098429.json - Messages: 27 - Duration: 79.63s DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1413387, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_kV7VaP23tDd3", s/voice_assistant_roo "room_id": m_2720_1774329098429. "RM_xCnU56Wf23dz"} json DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} WARNI… livekit.plugins… websocket closed {"room": unexpectedly "voice_assistant_roo… "pid": 1413387, "job_id": "AJ_kV7VaP23tDd3", "room_id": "RM_xCnU56Wf23dz"} 21:24:37 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:24:38 WARNI… livekit.agents failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://test-voice-bot-fd6qy6cu.liveki t.cloud/agent' 21:24:45 WARNI… livekit.agents failed to connect to livekit, retrying in 4s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://test-voice-bot-fd6qy6cu.liveki t.cloud/agent' 21:24:49 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_edKnsxtUsL2f", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:46:05 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_VhER3fFWVqyo", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:13:02 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_HBGcWJsgq4WG", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:36:51 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_wVHbdzwC6exB", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:43:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_GY2sba9WbPTv", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:17:00 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 22:17:04 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_NoqiWdkmCBRB", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:35:17 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 14:35:19 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_2oBdWEHu7R2U", "url": "wss://test-voice-bot-fd… "region": "Singapore South East", "protocol": 17} 22:37:25 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_gwKgW4GiPQaT", "url": "wss://test-voice-bot-fd… "region": "Singapore South East", "protocol": 17} 00:01:39 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_qv6FYiLES4i3", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:36:49 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_e2B2d3f9wHmN", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:58:36 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_kJQdBmcXUR4T", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 02:53:16 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_VAvmPuQBJEaM", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 08:02:34 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_cbAjJz4Gc6Tc", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 11:25:10 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_fvMR7z5z65uc", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:47:36 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_8rVMa983LPuz", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 05:18:59 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_DUeXSMPcoXbH", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:01:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:01:25 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_hbhF42ATcV28", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:07:38 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_JdtL2HMPvwGT", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:08:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 22:08:22 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_6hxduWxuCcxe", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 04:22:57 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_sj6YzeVCjfYg", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 11:28:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 11:28:31 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_tvqYR3NSYBhh", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 01:07:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_SrVHvAcJDJuc", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 13:44:23 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 13:44:29 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_NrrKJH5ubHEM", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:39:43 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:39:44 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_trjYCawrLWaS", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 03:30:59 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_wEG9ssBFzMh7", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:10:06 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_9oWzNgrd5xqy", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 20:31:13 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 20:31:14 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_H4vc5FTYnchy", "url": "wss://test-voice-bot-fd… "region": "Germany 2", "protocol": 17} 09:10:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 09:10:25 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_FTRnv7v2ingV", "url": "wss://test-voice-bot-fd… "region": "Germany 2", "protocol": 17} 13:17:52 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_FwKJR4erVvnY", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 19:43:18 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_L6vhxbKAm3qa", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:30:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_fW9jW3JEentB", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:04:51 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_EcQ9GzJFphGX", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:11:06 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_2MomWJPuAs4Z", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 17:35:47 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_LSQxUTebLHTP", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 12:33:14 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_hzRfxwkQC3oq", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 17:13:41 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_uFb5ayKEsKUs", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again What’s on your mind today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again What’s on your mind today (body=None, retryable=True) 15:06:58 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again What’s on your mind today (body=None, retryable=True) INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} 15:06:59 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} 15:07:00 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1397451, recent call last): "job_id": File "AJ_wmucQKBzD6kP", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_RzPi3CMWEKDN"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello again What’s on your mind today (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1397451, text="['Hello again "job_id": What’s on your mind "AJ_wmucQKBzD6kP", today']"... "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1397451, 5283 ms "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1397451, transcript='Hey, hi, "job_id": am I audible?' "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2287 ms "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397451, LLM/TTS timing) "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hey, hi, am I audible?", "language": "eng", "transcript_delay": 1.140012264251709, "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397451, y "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 363 ms "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.006673812866210937… "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1397451, text="['Hey, hi, am I "job_id": audible?']"... "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} 15:07:02 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397451, File "job_id": "/var/www/html/liveki "AJ_wmucQKBzD6kP", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_RzPi3CMWEKDN"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Loud and clear How can I assist you today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Loud and clear How can I assist you today (body=None, retryable=True) 15:07:04 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Loud and clear How can I assist you today (body=None, retryable=True) 15:07:06 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1397451, recent call last): "job_id": File "AJ_wmucQKBzD6kP", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_RzPi3CMWEKDN"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Loud and clear How can I assist you today (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1397451, text="['Loud and "job_id": clear How can I "AJ_wmucQKBzD6kP", assist you "room_id": today']"... "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1397451, 5536 ms "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} 15:07:07 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1397451, transcript='I want "job_id": to check.' "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_room… final): 348 ms "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397451, LLM/TTS timing) "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "I want to check.", "language": "eng", "transcript_delay": 0.048365116119384766, "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397451, y "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 1475 "pid": 1397451, ms "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} 15:07:09 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 1.116231918334961, "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1397451, text="['I want to "job_id": check.']"... "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397451, File "job_id": "/var/www/html/liveki "AJ_wmucQKBzD6kP", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_RzPi3CMWEKDN"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Sure What would you like to check or test Let me know how I can help (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Sure What would you like to check or test Let me know how I can help (body=None, retryable=True) INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1397451, transcript='It is "job_id": audible or not.' "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397451, LLM/TTS timing) "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "It is audible or not.", "language": "eng", "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397451, y "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 108 ms "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 3265 "pid": 1397451, ms "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1397451, text="['It is audible "job_id": or not.']"... "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} 15:07:11 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397451, File "job_id": "/var/www/html/liveki "AJ_wmucQKBzD6kP", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_RzPi3CMWEKDN"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Yes you are perfectly audible What would you like to check next (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Yes you are perfectly audible What would you like to check next (body=None, retryable=True) 15:07:12 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1397451, transcript='(burps)' "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1232 ms "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397451, LLM/TTS timing) "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "(burps)", "language": "eng", "transcript_delay": 1.0813498497009277, "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397451, y "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 9 ms "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 5815 "pid": 1397451, ms "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1397451, text="['(burps)']"... "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} 15:07:15 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397451, File "job_id": "/var/www/html/liveki "AJ_wmucQKBzD6kP", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_RzPi3CMWEKDN"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Audible for sure Anything else you want to check or ask about (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Audible for sure Anything else you want to check or ask about (body=None, retryable=True) 15:07:17 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1397451, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_wmucQKBzD6kP", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_RzPi3CMWEKDN"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Audible for sure Anything else you want to check or ask about (body=None, retryable=True) 15:07:19 ERROR livekit.agents AgentSession is {"room": closing due to "voice_assistant_roo… unrecoverable error "pid": 1397451, Traceback (most "job_id": recent call last): "AJ_wmucQKBzD6kP", File "room_id": "/var/www/html/liveki "RM_RzPi3CMWEKDN"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Audible for sure Anything else you want to check or ask about (body=None, retryable=True) INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_MICROPHONE", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents stream closed {"room": "voice_assistant_room_4584", "participant": "voice_assistant_user_2209", "source": "SOURCE_MICROPHONE", "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents session closed {"room": "voice_assistant_room_4584", "reason": "error", "error": "type='tts_error' timestamp=1774258639.723985 label='livekit.plugins.elev… error=APIError('no audio frames were pushed for text: Audible for sure Anything else you want to check or ask about') recoverable=False", "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} 15:12:21 INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_4584_1774258595658 Logged user message: Hello?... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged user message: Hello?... (total messages: 2) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged user message: Hello.... (total messages: 3) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged bot message: ['Hi there How can I help you today']... (total messages: 4) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged user message: Hello.... (total messages: 5) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged bot message: ['Hello again What’s on your mind today']... (total messages: 6) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged user message: Hey, hi, am I audible?... (total messages: 7) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged bot message: ['Loud and clear How can I assist you today']... (total messages: 8) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged user message: I want to check.... (total messages: 9) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged user message: It is audible or not.... (total messages: 10) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Logged user message: (burps)... (total messages: 11) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_4584_1774258595658.json - Messages: 11 - Duration: 368.10s 15:12:43 INFO livekit.agents process exiting {"reason": "", "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1397451, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_wmucQKBzD6kP", s/voice_assistant_roo "room_id": m_4584_1774258595658. "RM_RzPi3CMWEKDN"} json DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} WARNI… livekit.plugins… websocket closed {"room": unexpectedly "voice_assistant_roo… "pid": 1397451, "job_id": "AJ_wmucQKBzD6kP", "room_id": "RM_RzPi3CMWEKDN"} 22:39:41 INFO livekit.agents received job request {"job_id": "AJ_Hm6WdfYfvH35", "dispatch_id": "AD_Bp8TGLspomXc", "room": "voice_assistant_room… "room_id": "RM_iRX7DCgwaD9v", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_iRX7DCgwaD9v", "room": "voice_assistant_room_… "job_id": "AJ_Hm6WdfYfvH35", "dispatch_id": "AD_Bp8TGLspomXc", "enable_recording": false} INFO agent Job received: {"pid": 1397449, room=voice_assistant "job_id": _room_1562, "AJ_Hm6WdfYfvH35", job_id=AJ_Hm6WdfYfvH "room_id": 35 "RM_iRX7DCgwaD9v"} INFO livekit.agents initializing process {"pid": 2179459} INFO agent Prewarming agent {"pid": 2179459} process... INFO livekit.agents process initialized {"pid": 2179459, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 2179459} loaded DEBUG asyncio Using selector: {"pid": 2179459} EpollSelector 22:39:42 INFO agent [LATENCY] Startup: {"room": ctx.connect(): 886 "voice_assistant_room… ms (total since job: "pid": 1397449, 886 ms) "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1397449, , 'agent_voice', "job_id": 'agent_language', "AJ_Hm6WdfYfvH35", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_iRX7DCgwaD9v"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=ELEVENLABS (from "pid": 1397449, agent_stt_provider / "job_id": agent_tts_provider) "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent TTS: ElevenLabs {"room": model=eleven_turbo_v "voice_assistant_room… 2_5 "pid": 1397449, voice=EXAVITQu4vr4xn "job_id": SDxMaL "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1397449, + LLM + "job_id": AgentSession): 1054 "AJ_Hm6WdfYfvH35", ms "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1397449, listening "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1397449, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1397449, er` -> `RoomIO` "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1397449, (since connect): 176 "job_id": ms (total since job: "AJ_Hm6WdfYfvH35", 1062 ms) "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_room… -> agent listening): "pid": 1397449, 1062 ms "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:39:43 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:39:44 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:39:45 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1397449, transcript='Hello.' "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1439 ms "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397449, LLM/TTS timing) "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.1409165859222412, "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397449, y "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.00470280647277832, "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1397449, text="['Hello.']"... "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:39:48 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397449, File "job_id": "/var/www/html/liveki "AJ_Hm6WdfYfvH35", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_iRX7DCgwaD9v"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) 22:39:50 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:39:51 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:39:52 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1397449, recent call last): "job_id": File "AJ_Hm6WdfYfvH35", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_iRX7DCgwaD9v"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1397449, text="['Hello there "job_id": How can I help you "AJ_Hm6WdfYfvH35", today']"... "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1397449, 7204 ms "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:39:53 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1397449, transcript='Hello, I "job_id": am audible to you?' "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 3019 ms "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397449, LLM/TTS timing) "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello, I am audible to you?", "language": "eng", "transcript_delay": 2.321028470993042, "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397449, y "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 1476 "pid": 1397449, ms "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.004721403121948242, "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1397449, text="['Hello, I am "job_id": audible to you?']"... "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:39:56 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397449, File "job_id": "/var/www/html/liveki "AJ_Hm6WdfYfvH35", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_iRX7DCgwaD9v"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello I can see your text messages but I cannot actually hear your voice So feel free to type anything you want to say (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello I can see your text messages but I cannot actually hear your voice So feel free to type anything you want to say (body=None, retryable=True) 22:39:58 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello I can see your text messages but I cannot actually hear your voice So feel free to type anything you want to say (body=None, retryable=True) 22:40:00 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1397449, recent call last): "job_id": File "AJ_Hm6WdfYfvH35", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_iRX7DCgwaD9v"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello I can see your text messages but I cannot actually hear your voice So feel free to type anything you want to say (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1397449, text="['Hello I can "job_id": see your text "AJ_Hm6WdfYfvH35", messages but I cannot "room_id": actually hear your "RM_iRX7DCgwaD9v"} voice So fe"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1397449, 6587 ms "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:40:01 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:40:02 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1397449, transcript='Hello.' "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1432 ms "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397449, LLM/TTS timing) "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.1325480937957764, "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397449, y "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 2327 "pid": 1397449, ms "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005880594253540039, "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1397449, text="['Hello.']"... "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:40:03 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397449, File "job_id": "/var/www/html/liveki "AJ_Hm6WdfYfvH35", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_iRX7DCgwaD9v"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi again What would you like to chat about today (body=None, retryable=True) 22:40:04 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi again What would you like to chat about today (body=None, retryable=True) 22:40:06 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi again What would you like to chat about today (body=None, retryable=True) 22:40:07 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:40:08 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1397449, recent call last): "job_id": File "AJ_Hm6WdfYfvH35", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_iRX7DCgwaD9v"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi again What would you like to chat about today (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1397449, text="['Hi again What "job_id": would you like to "AJ_Hm6WdfYfvH35", chat about "room_id": today']"... "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1397449, 5487 ms "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:40:09 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1397449, transcript="Can you "job_id": tell me what's your "AJ_Hm6WdfYfvH35", name?" "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2539 ms "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397449, LLM/TTS timing) "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Can you tell me what's your name?", "language": "eng", "transcript_delay": 1.3921356201171875, "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397449, y "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 1569 "pid": 1397449, ms "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.005085945129394531, "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1397449, text='["Can you tell "job_id": me what\'s your "AJ_Hm6WdfYfvH35", name?"]'... "room_id": "RM_iRX7DCgwaD9v"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:40:10 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397449, File "job_id": "/var/www/html/liveki "AJ_Hm6WdfYfvH35", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_iRX7DCgwaD9v"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: I am called ChatGPT Your friendly AI assistant here to help you with anything you need (body=None, retryable=True) 22:40:11 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: I am called ChatGPT Your friendly AI assistant here to help you with anything you need (body=None, retryable=True) 22:40:13 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1397449, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_Hm6WdfYfvH35", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_iRX7DCgwaD9v"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: I am called ChatGPT Your friendly AI assistant here to help you with anything you need (body=None, retryable=True) 22:40:15 ERROR livekit.agents AgentSession is {"room": closing due to "voice_assistant_roo… unrecoverable error "pid": 1397449, Traceback (most "job_id": recent call last): "AJ_Hm6WdfYfvH35", File "room_id": "/var/www/html/liveki "RM_iRX7DCgwaD9v"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: I am called ChatGPT Your friendly AI assistant here to help you with anything you need (body=None, retryable=True) INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_MICROPHONE", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents stream closed {"room": "voice_assistant_room_1562", "participant": "voice_assistant_user_6387", "source": "SOURCE_MICROPHONE", "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} DEBUG livekit.agents session closed {"room": "voice_assistant_room_1562", "reason": "error", "error": "type='tts_error' timestamp=1774285815.1523843 label='livekit.plugins.elev… error=APIError('no audio frames were pushed for text: I am called ChatGPT Your friendly AI assistant here to help you with anything you need') recoverable=False", "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:40:35 INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 22:40:58 DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_1562_1774285782322 Logged user message: Hello.... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_1562_1774285782322.json Logged bot message: ['Hello there How can I help you today']... (total messages: 2) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_1562_1774285782322.json Logged user message: Hello, I am audible to you?... (total messages: 3) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_1562_1774285782322.json Logged bot message: ['Hello I can see your text messages but I cannot ... (total messages: 4) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_1562_1774285782322.json Logged user message: Hello.... (total messages: 5) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_1562_1774285782322.json Logged bot message: ['Hi again What would you like to chat about today... (total messages: 6) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_1562_1774285782322.json Logged user message: Can you tell me what's your name?... (total messages: 7) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_1562_1774285782322.json Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_1562_1774285782322.json - Messages: 7 - Duration: 76.43s INFO livekit.agents process exiting {"reason": "", "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1397449, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_Hm6WdfYfvH35", s/voice_assistant_roo "room_id": m_1562_1774285782322. "RM_iRX7DCgwaD9v"} json DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} WARNI… livekit.plugins… websocket closed {"room": unexpectedly "voice_assistant_roo… "pid": 1397449, "job_id": "AJ_Hm6WdfYfvH35", "room_id": "RM_iRX7DCgwaD9v"} 18:55:43 INFO livekit.agents received job request {"job_id": "AJ_edZJperEMWrw", "dispatch_id": "AD_qas6v8JDcSXe", "room": "voice_assistant_room… "room_id": "RM_UP5ynbkF6cTi", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_UP5ynbkF6cTi", "room": "voice_assistant_room_… "job_id": "AJ_edZJperEMWrw", "dispatch_id": "AD_qas6v8JDcSXe", "enable_recording": false} INFO agent Job received: {"pid": 1397629, room=voice_assistant "job_id": _room_2062, "AJ_edZJperEMWrw", job_id=AJ_edZJperEMW "room_id": rw "RM_UP5ynbkF6cTi"} INFO livekit.agents initializing process {"pid": 3176068} INFO agent Prewarming agent {"pid": 3176068} process... INFO agent Prewarm complete - VAD {"pid": 3176068} loaded DEBUG asyncio Using selector: {"pid": 3176068} EpollSelector INFO livekit.agents process initialized {"pid": 3176068, "elapsed_time": 0.27} INFO agent [LATENCY] Startup: {"room": ctx.connect(): 408 "voice_assistant_room… ms (total since job: "pid": 1397629, 408 ms) "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1397629, , 'agent_voice', "job_id": 'agent_language', "AJ_edZJperEMWrw", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_UP5ynbkF6cTi"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=ELEVENLABS (from "pid": 1397629, agent_stt_provider / "job_id": agent_tts_provider) "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent TTS: ElevenLabs {"room": model=eleven_turbo_v "voice_assistant_room… 2_5 "pid": 1397629, voice=EXAVITQu4vr4xn "job_id": SDxMaL "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:55:44 INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1397629, + LLM + "job_id": AgentSession): 574 ms "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1397629, listening "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1397629, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1397629, er` -> `RoomIO` "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1397629, (since connect): 327 "job_id": ms (total since job: "AJ_edZJperEMWrw", 734 ms) "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1397629, 734 ms "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:55:45 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:55:46 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1397629, transcript='Hello?' "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1524 ms "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397629, LLM/TTS timing) "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.3313138484954834, "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397629, y "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.006324291229248047, "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1397629, text="['Hello?']"... "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:55:49 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397629, File "job_id": "/var/www/html/liveki "AJ_edZJperEMWrw", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UP5ynbkF6cTi"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1397629, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_edZJperEMWrw", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UP5ynbkF6cTi"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there! How can I help you today? (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1397629, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_edZJperEMWrw", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UP5ynbkF6cTi"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there! How can I help you today? (body=None, retryable=True) 18:55:52 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1397629, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_edZJperEMWrw", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_UP5ynbkF6cTi"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there! How can I help you today? (body=None, retryable=True) 18:55:53 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:55:54 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1397629, recent call last): "job_id": File "AJ_edZJperEMWrw", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_UP5ynbkF6cTi"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there! How can I help you today? (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1397629, text="['Hello there! "job_id": How can I help you "AJ_edZJperEMWrw", today?']"... "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1397629, 7493 ms "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:55:55 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:55:56 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1397629, transcript='നാളെ "job_id": കിട്ടുന്നില്ല.' "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 2431 ms "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397629, LLM/TTS timing) "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "നാളെ കിട്ടുന്നില്ല.", "language": "eng", "transcript_delay": 1.6833083629608154, "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397629, y "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 2264 "pid": 1397629, ms "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.006058454513549805, "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1397629, text="['നാളെ "job_id": കിട്ടുന്നില്ല.']"... "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:55:57 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397629, File "job_id": "/var/www/html/liveki "AJ_edZJperEMWrw", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UP5ynbkF6cTi"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397629, File "job_id": "/var/www/html/liveki "AJ_edZJperEMWrw", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UP5ynbkF6cTi"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1397629, recent call last): "job_id": File "AJ_edZJperEMWrw", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_UP5ynbkF6cTi"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1397629, text="['ഇതാ നാളെ "job_id": കിട്ടുന്നില്ലെന്ന് പറഞ്ഞതിൽ എന്ത് "AJ_edZJperEMWrw", മറുപടി വേണമെന്നാണ് ഞങ്ങൾക്കറിയാൻ "room_id": സാ"... "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1397629, 1587 ms "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:56:03 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:56:04 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1397629, transcript='And-' "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1219 ms "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1397629, LLM/TTS timing) "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "And-", "language": "eng", "transcript_delay": 1.119391679763794, "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1397629, y "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 6352 "pid": 1397629, ms "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.006087541580200195, "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1397629, text="['And-']"... "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:56:06 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397629, File "job_id": "/var/www/html/liveki "AJ_edZJperEMWrw", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UP5ynbkF6cTi"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' ERROR livekit.agents Error in _main_task {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1397629, File "job_id": "/var/www/html/liveki "AJ_edZJperEMWrw", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_UP5ynbkF6cTi"} env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1397629, recent call last): "job_id": File "AJ_edZJperEMWrw", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_UP5ynbkF6cTi"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 403, in _main_task await output_emitter.join() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 762, in join await self._main_atask File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 1001, in _main_task audio_decoder.pus h(data) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 151, in push self._input_buf.w rite(chunk) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 80, in write self._buffer.seek (0, io.SEEK_END) ValueError: I/O operation on closed file. INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1397629, text="['Looks like "job_id": your message got cut "AJ_edZJperEMWrw", off. What were you "room_id": going to say?']"... "RM_UP5ynbkF6cTi"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1397629, 1858 ms "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:56:12 INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents session closed {"room": "voice_assistant_room_2062", "reason": "participant_disconnected", "error": null, "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 18:56:33 INFO livekit.agents process exiting {"reason": "", "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ Started new conversation session: voice_assistant_room_2062_1774358744271 Logged user message: Hello?... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2062_1774358744271.json Logged bot message: ['Hello there! How can I help you today?']... (total messages: 2) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2062_1774358744271.json Logged user message: നാളെ കിട്ടുന്നില്ല.... (total messages: 3) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2062_1774358744271.json Logged bot message: ['ഇതാ നാളെ കിട്ടുന്നില്ലെന്ന് പറഞ്ഞതിൽ എന്ത് മറുപട... (total messages: 4) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2062_1774358744271.json Logged user message: And-... (total messages: 5) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2062_1774358744271.json Logged bot message: ['Looks like your message got cut off. What were y... (total messages: 6) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2062_1774358744271.json Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2062_1774358744271.json - Messages: 6 - Duration: 48.79s INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1397629, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_edZJperEMWrw", s/voice_assistant_roo "room_id": m_2062_1774358744271. "RM_UP5ynbkF6cTi"} json DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} WARNI… livekit.plugins… websocket closed {"room": unexpectedly "voice_assistant_roo… "pid": 1397629, "job_id": "AJ_edZJperEMWrw", "room_id": "RM_UP5ynbkF6cTi"} 21:24:37 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:24:38 WARNI… livekit.agents failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://test-voice-bot-fd6qy6cu.liveki t.cloud/agent' 21:24:42 WARNI… livekit.agents failed to connect to livekit, retrying in 4s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://test-voice-bot-fd6qy6cu.liveki t.cloud/agent' 21:24:48 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_ZgiZshhxKqJC", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:15:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Nhb5wqFTXj9B", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:46:05 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_kLbtDteNAd9c", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 19:45:50 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Zty56uDu9KBr", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:12:52 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_GFNcpgrPJmad", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 20:56:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Kzn3weZzLRgx", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 20:36:15 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_zcWXwwZLz4bB", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:43:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_BihcKwo2rE47", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:17:00 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 22:17:01 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_S6r9QSVx9QEX", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:36:45 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_VRah4fujb7Mo", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 04:37:43 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_vut5dD9hvduC", "url": "wss://test-voice-bot-fd… "region": "Singapore South East", "protocol": 17} 00:01:07 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 00:01:09 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_9waexZTrhTiP", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 14:36:26 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_tiJtsHCFrRu7", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:58:42 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_VHzuowWtMhJn", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 02:53:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_F9zrmhzpNR6G", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 08:02:34 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_yf4YUZXChTK6", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 11:25:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 11:25:31 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_nHE8YRJpLQuR", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 21:47:36 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_XJFx3SiaTcmp", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:01:18 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:01:19 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Y2CfMKkhFVrF", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:07:38 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_f8MLu4sd6LWo", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:08:34 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_zqYkVVcJfB9K", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 01:07:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_iZnTEsiR7r4n", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:40:02 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_BAeK9ei6dijs", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:10:08 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_pw2DWGs7Hnm3", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 17:50:56 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_3iQEyUhTzmGL", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 22:14:33 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_gtSd2MX7H3wG", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 00:09:40 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_54NKs4QewAXZ", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 03:20:54 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_fQtYFFbiRwHR", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 23:04:51 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_yrKWHhPW3zPx", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 05:10:10 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_ZQigFKBRtEJf", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 17} 16:10:58 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_vSeYPt9miMFW", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 17:54:15 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_4MtdKYWsVR7p", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 19:34:50 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_kt9B66ZuiN5m", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 15:21:47 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_5YDxFawCAGGo", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 17:53:37 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_KssaSKYwn8a3", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 21:24:57 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:24:58 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_UYEMWPoVj8Fd", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 04:48:35 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_n4eaLjFECS2f", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} 22:21:46 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_bSeAKNLnmeeB", "url": "wss://test-voice-bot-fd… "region": "India West", "protocol": 17} : 1824158, "inference": true, "elapsed_time": 2.58} INFO livekit.agents initializing process {"pid": 1824310} INFO livekit.agents initializing process {"pid": 1824312} INFO livekit.agents initializing process {"pid": 1824313} INFO livekit.agents initializing process {"pid": 1824316} ============================================================ Initializing ConversationLogger... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1824310} process... INFO agent Prewarming agent {"pid": 1824312} process... INFO agent Prewarming agent {"pid": 1824313} process... INFO agent Prewarming agent {"pid": 1824316} process... INFO livekit.agents process initialized {"pid": 1824310, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1824310} loaded INFO agent Prewarm complete - VAD {"pid": 1824312} loaded DEBUG asyncio Using selector: {"pid": 1824310} EpollSelector DEBUG asyncio Using selector: {"pid": 1824312} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1824316} loaded INFO agent Prewarm complete - VAD {"pid": 1824313} loaded DEBUG asyncio Using selector: {"pid": 1824316} EpollSelector DEBUG asyncio Using selector: {"pid": 1824313} EpollSelector INFO livekit.agents process initialized {"pid": 1824312, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1824313, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1824316, "elapsed_time": 0.28} INFO livekit.agents initializing process {"pid": 1824500} 15:58:25 INFO livekit.agents initializing process {"pid": 1824550} INFO livekit.agents initializing process {"pid": 1824552} INFO livekit.agents initializing process {"pid": 1824554} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1824500} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1824552} process... INFO agent Prewarming agent {"pid": 1824550} process... INFO agent Prewarming agent {"pid": 1824554} process... INFO livekit.agents process initialized {"pid": 1824500, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 1824500} loaded DEBUG asyncio Using selector: {"pid": 1824500} EpollSelector INFO livekit.agents initializing process {"pid": 1824686} INFO livekit.agents process initialized {"pid": 1824552, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1824552} loaded INFO agent Prewarm complete - VAD {"pid": 1824550} loaded DEBUG asyncio Using selector: {"pid": 1824552} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1824554} loaded DEBUG asyncio Using selector: {"pid": 1824550} EpollSelector DEBUG asyncio Using selector: {"pid": 1824554} EpollSelector INFO livekit.agents process initialized {"pid": 1824550, "elapsed_time": 0.27} INFO livekit.agents process initialized {"pid": 1824554, "elapsed_time": 0.27} INFO livekit.agents initializing process {"pid": 1824730} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1824686} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1824730} process... INFO agent Prewarm complete - VAD {"pid": 1824686} loaded INFO livekit.agents process initialized {"pid": 1824686, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 1824686} EpollSelector INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1824160, "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} INFO agent Prewarm complete - VAD {"pid": 1824730} loaded INFO livekit.agents process initialized {"pid": 1824730, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 1824730} EpollSelector DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1824160, "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_vm65YRnfgTpN", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 16} Logged user message: Thanks, buddy.... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_6082_1774261703133.json 15:58:26 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1824160, transcript='Thanks, "job_id": buddy.' "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1769 ms "pid": 1824160, "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1824160, LLM/TTS timing) "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Thanks, buddy.", "language": "eng", "transcript_delay": 1.3217120170593262, "pid": 1824160, "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1824160, y "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 0 ms "pid": 1824160, "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1824160, "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.003354787826538086, "pid": 1824160, "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1824160, text="['Thanks, "job_id": buddy.']"... "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1824160, "job_id": "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} 15:58:27 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1824160, File "job_id": "/var/www/html/liveki "AJ_kEGF3eHpPDi7", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_LCMbuJvyABrS"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1824160, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_kEGF3eHpPDi7", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_LCMbuJvyABrS"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: You’re welcome, friend! What else can I help you with today? (body=None, retryable=True) 15:58:28 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1824160, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_kEGF3eHpPDi7", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_LCMbuJvyABrS"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: You’re welcome, friend! What else can I help you with today? (body=None, retryable=True) INFO livekit.agents shutting down worker {"id": "AW_vm65YRnfgTpN"} ERROR livekit.agents process exited with {"pid": 1824550} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824310} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824686} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824552} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824316} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824313} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824500} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824312} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824554} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824730} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1824160, non-zero exit code "job_id": 255 "AJ_kEGF3eHpPDi7", "room_id": "RM_LCMbuJvyABrS"} ERROR livekit.agents process exited with {"pid": 1824158, non-zero exit code "inference": true} 255 ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:58:39 DEBUG asyncio Using selector: EpollSelector DEV livekit.agents Watching /var/www/html/livekit_frontend/BackEnd/ag ent-starter-python/src ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:58:40 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 15:58:41 INFO livekit.agents initializing process {"pid": 1825384, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:58:44 INFO livekit.agents process initialized {"pid": 1825384, "inference": true, "elapsed_time": 2.53} INFO livekit.agents initializing process {"pid": 1825470} INFO livekit.agents initializing process {"pid": 1825473} INFO livekit.agents initializing process {"pid": 1825475} INFO livekit.agents initializing process {"pid": 1825477} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1825473} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1825470} process... INFO agent Prewarming agent {"pid": 1825475} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1825477} process... INFO livekit.agents process initialized {"pid": 1825473, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1825470} loaded INFO agent Prewarm complete - VAD {"pid": 1825473} loaded DEBUG asyncio Using selector: {"pid": 1825470} EpollSelector DEBUG asyncio Using selector: {"pid": 1825473} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1825475} loaded INFO agent Prewarm complete - VAD {"pid": 1825477} loaded DEBUG asyncio Using selector: {"pid": 1825475} EpollSelector INFO livekit.agents process initialized {"pid": 1825470, "elapsed_time": 0.29} DEBUG asyncio Using selector: {"pid": 1825477} EpollSelector INFO livekit.agents process initialized {"pid": 1825475, "elapsed_time": 0.29} INFO livekit.agents process initialized {"pid": 1825477, "elapsed_time": 0.3} INFO livekit.agents initializing process {"pid": 1825649} INFO livekit.agents initializing process {"pid": 1825652} INFO livekit.agents initializing process {"pid": 1825656} INFO livekit.agents initializing process {"pid": 1825660} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1825649} process... INFO agent Prewarming agent {"pid": 1825652} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1825660} process... INFO agent Prewarming agent {"pid": 1825656} process... INFO livekit.agents process initialized {"pid": 1825649, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1825649} loaded DEBUG asyncio Using selector: {"pid": 1825649} EpollSelector INFO livekit.agents process initialized {"pid": 1825652, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1825652} loaded DEBUG asyncio Using selector: {"pid": 1825652} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1825660} loaded DEBUG asyncio Using selector: {"pid": 1825660} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1825656} loaded DEBUG asyncio Using selector: {"pid": 1825656} EpollSelector INFO livekit.agents process initialized {"pid": 1825660, "elapsed_time": 0.3} INFO livekit.agents process initialized {"pid": 1825656, "elapsed_time": 0.31} INFO livekit.agents initializing process {"pid": 1825842} INFO livekit.agents initializing process {"pid": 1825846} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:58:45 INFO agent Prewarming agent {"pid": 1825842} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1825846} process... INFO livekit.agents process initialized {"pid": 1825842, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 1825842} loaded DEBUG asyncio Using selector: {"pid": 1825842} EpollSelector INFO livekit.agents process initialized {"pid": 1825846, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1825846} loaded DEBUG asyncio Using selector: {"pid": 1825846} EpollSelector INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_dxF8CwcPYNx2", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 16} 16:00:24 INFO livekit.agents shutting down worker {"id": "AW_dxF8CwcPYNx2"} INFO livekit.agents process exiting {"reason": "", "pid": 1825384, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:00:25 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 16:00:26 INFO livekit.agents initializing process {"pid": 1828954, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:00:29 INFO livekit.agents process initialized {"pid": 1828954, "inference": true, "elapsed_time": 2.49} INFO livekit.agents initializing process {"pid": 1829038} INFO livekit.agents initializing process {"pid": 1829040} INFO livekit.agents initializing process {"pid": 1829042} INFO livekit.agents initializing process {"pid": 1829044} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1829042} process... ============================================================ Initializing ConversationLogger... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logsConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: TrueDirectory exists: True Directory writable: TrueDirectory writable: True ConversationLogger readyConversationLogger ready ======================================================================================================================== INFO agent Prewarming agent {"pid": 1829038} process... INFO agent Prewarming agent {"pid": 1829044} process... INFO agent Prewarming agent {"pid": 1829040} process... INFO agent Prewarm complete - VAD {"pid": 1829040} loaded INFO agent Prewarm complete - VAD {"pid": 1829042} loaded DEBUG asyncio Using selector: {"pid": 1829040} EpollSelector INFO livekit.agents process initialized {"pid": 1829040, "elapsed_time": 0.27} DEBUG asyncio Using selector: {"pid": 1829042} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1829038} loaded INFO livekit.agents process initialized {"pid": 1829042, "elapsed_time": 0.28} DEBUG asyncio Using selector: {"pid": 1829038} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1829044} loaded DEBUG asyncio Using selector: {"pid": 1829044} EpollSelector INFO livekit.agents process initialized {"pid": 1829038, "elapsed_time": 0.31} INFO livekit.agents process initialized {"pid": 1829044, "elapsed_time": 0.31} INFO livekit.agents initializing process {"pid": 1829221} INFO livekit.agents initializing process {"pid": 1829224} INFO livekit.agents initializing process {"pid": 1829227} INFO livekit.agents initializing process {"pid": 1829229} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1829221} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1829229} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1829224} process... INFO agent Prewarming agent {"pid": 1829227} process... INFO agent Prewarm complete - VAD {"pid": 1829221} loaded INFO livekit.agents process initialized {"pid": 1829221, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 1829221} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1829229} loaded DEBUG asyncio Using selector: {"pid": 1829229} EpollSelector INFO livekit.agents process initialized {"pid": 1829229, "elapsed_time": 0.26} INFO livekit.agents process initialized {"pid": 1829224, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 1829224} loaded INFO agent Prewarm complete - VAD {"pid": 1829227} loaded DEBUG asyncio Using selector: {"pid": 1829224} EpollSelector DEBUG asyncio Using selector: {"pid": 1829227} EpollSelector INFO livekit.agents process initialized {"pid": 1829227, "elapsed_time": 0.31} INFO livekit.agents initializing process {"pid": 1829412} INFO livekit.agents initializing process {"pid": 1829414} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:00:30 INFO agent Prewarming agent {"pid": 1829412} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1829414} process... INFO agent Prewarm complete - VAD {"pid": 1829412} loaded INFO livekit.agents process initialized {"pid": 1829412, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 1829412} EpollSelector INFO livekit.agents process initialized {"pid": 1829414, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 1829414} loaded DEBUG asyncio Using selector: {"pid": 1829414} EpollSelector INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_D5BD8BijvLLs", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 16} 16:00:33 INFO livekit.agents shutting down worker {"id": "AW_D5BD8BijvLLs"} ERROR livekit.agents process exited with {"pid": 1829414} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1829227} non-zero exit code 255 16:00:34 ERROR livekit.agents process exited with {"pid": 1829221} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1829040} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1829044} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1829229} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1829038} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1829412} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1829042} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1829224} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1828954, non-zero exit code "inference": true} 255 ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:00:45 DEBUG asyncio Using selector: EpollSelector DEV livekit.agents Watching /var/www/html/livekit_frontend/BackEnd/ag ent-starter-python/src ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:00:46 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 16:00:47 INFO livekit.agents initializing process {"pid": 1830101, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:00:50 INFO livekit.agents process initialized {"pid": 1830101, "inference": true, "elapsed_time": 2.49} INFO livekit.agents initializing process {"pid": 1830224} INFO livekit.agents initializing process {"pid": 1830226} INFO livekit.agents initializing process {"pid": 1830228} INFO livekit.agents initializing process {"pid": 1830230} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1830226} process... INFO agent Prewarming agent {"pid": 1830224} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1830230} process... INFO agent Prewarming agent {"pid": 1830228} process... INFO livekit.agents process initialized {"pid": 1830226, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1830226} loaded DEBUG asyncio Using selector: {"pid": 1830226} EpollSelector INFO livekit.agents process initialized {"pid": 1830224, "elapsed_time": 0.28} INFO agent Prewarm complete - VAD {"pid": 1830224} loaded DEBUG asyncio Using selector: {"pid": 1830224} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1830230} loaded INFO agent Prewarm complete - VAD {"pid": 1830228} loaded DEBUG asyncio Using selector: {"pid": 1830228} EpollSelector DEBUG asyncio Using selector: {"pid": 1830230} EpollSelector INFO livekit.agents process initialized {"pid": 1830230, "elapsed_time": 0.3} INFO livekit.agents process initialized {"pid": 1830228, "elapsed_time": 0.31} INFO livekit.agents initializing process {"pid": 1830401} INFO livekit.agents initializing process {"pid": 1830445} INFO livekit.agents initializing process {"pid": 1830449} INFO livekit.agents initializing process {"pid": 1830451} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1830401} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1830445} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1830449} process... INFO agent Prewarming agent {"pid": 1830451} process... INFO livekit.agents process initialized {"pid": 1830401, "elapsed_time": 0.24} INFO agent Prewarm complete - VAD {"pid": 1830401} loaded DEBUG asyncio Using selector: {"pid": 1830401} EpollSelector INFO livekit.agents process initialized {"pid": 1830445, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1830451} loaded INFO agent Prewarm complete - VAD {"pid": 1830449} loaded INFO agent Prewarm complete - VAD {"pid": 1830445} loaded DEBUG asyncio Using selector: {"pid": 1830451} EpollSelector DEBUG asyncio Using selector: {"pid": 1830449} EpollSelector DEBUG asyncio Using selector: {"pid": 1830445} EpollSelector INFO livekit.agents process initialized {"pid": 1830449, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1830451, "elapsed_time": 0.28} INFO livekit.agents initializing process {"pid": 1830592} INFO livekit.agents initializing process {"pid": 1830594} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:00:51 INFO agent Prewarming agent {"pid": 1830592} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1830594} process... INFO livekit.agents process initialized {"pid": 1830592, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 1830592} loaded INFO agent Prewarm complete - VAD {"pid": 1830594} loaded DEBUG asyncio Using selector: {"pid": 1830594} EpollSelector DEBUG asyncio Using selector: {"pid": 1830592} EpollSelector INFO livekit.agents process initialized {"pid": 1830594, "elapsed_time": 0.27} INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_ktrFanEKJXzB", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 16} 16:06:57 INFO livekit.agents shutting down worker {"id": "AW_ktrFanEKJXzB"} 16:06:57 WARNI… watchfiles.main received signal Signals.SIGTERM, raising KeyboardInterrupt 16:06:58 ERROR livekit.agents process exited with {"pid": 1830449} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830592} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830594} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830445} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830224} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830226} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830228} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830451} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830401} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830230} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1830101, non-zero exit code "inference": true} 255 ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:07:41 DEBUG asyncio Using selector: EpollSelector DEV livekit.agents Watching /var/www/html/livekit_frontend/BackEnd/ag ent-starter-python/src ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:07:42 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 16:07:43 INFO livekit.agents initializing process {"pid": 1842754, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:07:46 INFO livekit.agents process initialized {"pid": 1842754, "inference": true, "elapsed_time": 2.48} INFO livekit.agents initializing process {"pid": 1842896} INFO livekit.agents initializing process {"pid": 1842898} INFO livekit.agents initializing process {"pid": 1842900} INFO livekit.agents initializing process {"pid": 1842902} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1842898} process... INFO agent Prewarming agent {"pid": 1842902} process... INFO agent Prewarming agent {"pid": 1842900} process... INFO agent Prewarming agent {"pid": 1842896} process... INFO agent Prewarm complete - VAD {"pid": 1842902} loaded INFO agent Prewarm complete - VAD {"pid": 1842898} loaded INFO agent Prewarm complete - VAD {"pid": 1842900} loaded DEBUG asyncio Using selector: {"pid": 1842902} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1842896} loaded DEBUG asyncio Using selector: {"pid": 1842898} EpollSelector DEBUG asyncio Using selector: {"pid": 1842900} EpollSelector INFO livekit.agents process initialized {"pid": 1842902, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 1842896} EpollSelector INFO livekit.agents process initialized {"pid": 1842898, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1842900, "elapsed_time": 0.29} INFO livekit.agents process initialized {"pid": 1842896, "elapsed_time": 0.3} INFO livekit.agents initializing process {"pid": 1843093} INFO livekit.agents initializing process {"pid": 1843095} INFO livekit.agents initializing process {"pid": 1843179} INFO livekit.agents initializing process {"pid": 1843181} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1843095} process... INFO agent Prewarming agent {"pid": 1843093} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1843179} process... INFO agent Prewarming agent {"pid": 1843181} process... INFO livekit.agents process initialized {"pid": 1843095, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1843095} loaded DEBUG asyncio Using selector: {"pid": 1843095} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1843093} loaded DEBUG asyncio Using selector: {"pid": 1843093} EpollSelector INFO livekit.agents process initialized {"pid": 1843093, "elapsed_time": 0.28} INFO livekit.agents initializing process {"pid": 1843271} INFO livekit.agents initializing process {"pid": 1843273} INFO livekit.agents process initialized {"pid": 1843179, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 1843179} loaded INFO agent Prewarm complete - VAD {"pid": 1843181} loaded DEBUG asyncio Using selector: {"pid": 1843179} EpollSelector DEBUG asyncio Using selector: {"pid": 1843181} EpollSelector INFO livekit.agents process initialized {"pid": 1843181, "elapsed_time": 0.26} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:07:47 INFO agent Prewarming agent {"pid": 1843271} process... INFO agent Prewarming agent {"pid": 1843273} process... INFO livekit.agents process initialized {"pid": 1843271, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1843271} loaded DEBUG asyncio Using selector: {"pid": 1843271} EpollSelector INFO livekit.agents process initialized {"pid": 1843273, "elapsed_time": 0.29} INFO agent Prewarm complete - VAD {"pid": 1843273} loaded DEBUG asyncio Using selector: {"pid": 1843273} EpollSelector INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_9ZpTPFdR3bpr", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 16} 16:12:48 INFO livekit.agents received job request {"job_id": "AJ_K5LQVJWEMfVg", "dispatch_id": "AD_cXd9g2KQ7S95", "room": "voice_assistant_room… "room_id": "RM_v9WF5AjvPese", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_v9WF5AjvPese", "room": "voice_assistant_room_… "job_id": "AJ_K5LQVJWEMfVg", "dispatch_id": "AD_cXd9g2KQ7S95", "enable_recording": false} INFO agent Job received: {"pid": 1842902, room=voice_assistant "job_id": _room_2994, "AJ_K5LQVJWEMfVg", job_id=AJ_K5LQVJWEMf "room_id": Vg "RM_v9WF5AjvPese"} INFO livekit.agents initializing process {"pid": 1851215} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:12:49 INFO agent Prewarming agent {"pid": 1851215} process... INFO livekit.agents process initialized {"pid": 1851215, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 1851215} loaded DEBUG asyncio Using selector: {"pid": 1851215} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 365 "voice_assistant_room… ms (total since job: "pid": 1842902, 365 ms) "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1842902, , 'agent_voice', "job_id": 'agent_language', "AJ_K5LQVJWEMfVg", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_v9WF5AjvPese"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=ELEVENLABS (from "pid": 1842902, agent_stt_provider / "job_id": agent_tts_provider) "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent TTS: ElevenLabs {"room": model=eleven_turbo_v "voice_assistant_room… 2_5 "pid": 1842902, voice=EXAVITQu4vr4xn "job_id": SDxMaL "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Started new conversation session: voice_assistant_room_2994_1774262569351 INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1842902, + LLM + "job_id": AgentSession): 532 ms "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents input stream attached {"room": "voice_assistant_roo… "participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… initializing -> "pid": 1842902, listening "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents using audio io: {"room": `RoomIO` -> "voice_assistant_roo… `AgentSession` -> "pid": 1842902, `TranscriptSynchroniz "job_id": er` -> `RoomIO` "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents using transcript io: {"room": `AgentSession` -> "voice_assistant_roo… `TranscriptSynchroniz "pid": 1842902, er` -> `RoomIO` "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] Startup: {"room": pipeline build + "voice_assistant_roo… session.start() "pid": 1842902, (since connect): 176 "job_id": ms (total since job: "AJ_K5LQVJWEMfVg", 540 ms) "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] Startup {"room": TOTAL (job received "voice_assistant_roo… -> agent listening): "pid": 1842902, 540 ms "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent Agent is in the room {"room": and listening. User "voice_assistant_roo… can say hello. "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents start reading stream {"room": "voice_assistant_room… "participant": "voice_assistant_user… "source": "SOURCE_MICROPHONE", "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:12:50 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Logged user message: Hello?... (total messages: 1) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json 16:12:51 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1842902, transcript='Hello?' "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1397 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1842902, LLM/TTS timing) "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.142296552658081, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1842902, y "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 0 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.002769947052001953, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1842902, text="['Hello?']"... "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:12:54 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1842902, File "job_id": "/var/www/html/liveki "AJ_K5LQVJWEMfVg", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_v9WF5AjvPese"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there How can I help you today (body=None, retryable=True) INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:12:55 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Logged user message: Hello?... (total messages: 2) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1842902, transcript='Hello?' "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1285 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1842902, LLM/TTS timing) "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.1344382762908936, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1842902, y "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 6 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1842902, text="['Hello?']"... "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:12:57 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1842902, File "job_id": "/var/www/html/liveki "AJ_K5LQVJWEMfVg", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_v9WF5AjvPese"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there What can I help you with today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there What can I help you with today (body=None, retryable=True) 16:12:59 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there What can I help you with today (body=None, retryable=True) INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:00 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Logged bot message: ['Hello there What can I help you with today']... (total messages: 3) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json 16:13:01 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1842902, recent call last): "job_id": File "AJ_K5LQVJWEMfVg", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_v9WF5AjvPese"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello there What can I help you with today (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1842902, text="['Hello there "job_id": What can I help you "AJ_K5LQVJWEMfVg", with today']"... "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1842902, 5473 ms "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Logged user message: Hello?... (total messages: 4) INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1842902, transcript='Hello?' "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1428 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1842902, LLM/TTS timing) "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.1276774406433105, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1842902, y "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 70 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.00495600700378418, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1842902, text="['Hello?']"... "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:02 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1842902, File "job_id": "/var/www/html/liveki "AJ_K5LQVJWEMfVg", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_v9WF5AjvPese"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi again I am here and ready to help What do you need today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi again I am here and ready to help What do you need today (body=None, retryable=True) 16:13:04 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi again I am here and ready to help What do you need today (body=None, retryable=True) 16:13:05 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:06 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Logged bot message: ['Hi again I am here and ready to help What do you... (total messages: 5) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1842902, recent call last): "job_id": File "AJ_K5LQVJWEMfVg", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_v9WF5AjvPese"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hi again I am here and ready to help What do you need today (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1842902, text="['Hi again I am "job_id": here and ready to "AJ_K5LQVJWEMfVg", help What do you need "room_id": today']"... "RM_v9WF5AjvPese"} INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1842902, 5233 ms "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Logged user message: Hello?... (total messages: 6) 16:13:07 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1842902, transcript='Hello?' "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1373 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1842902, LLM/TTS timing) "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.0738463401794434, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1842902, y "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 1 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 413 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.004935264587402344, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1842902, text="['Hello?']"... "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:08 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1842902, File "job_id": "/var/www/html/liveki "AJ_K5LQVJWEMfVg", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_v9WF5AjvPese"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello Hello Looks like we got an echo going here What can I do for you today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello Hello Looks like we got an echo going here What can I do for you today (body=None, retryable=True) 16:13:10 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello Hello Looks like we got an echo going here What can I do for you today (body=None, retryable=True) Logged bot message: ['Hello Hello Looks like we got an echo going here... (total messages: 7) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json 16:13:12 ERROR livekit.agents Error in {"room": _tts_inference_task "voice_assistant_roo… Traceback (most "pid": 1842902, recent call last): "job_id": File "AJ_K5LQVJWEMfVg", "/var/www/html/liveki "room_id": t_frontend/BackEnd/ag "RM_v9WF5AjvPese"} ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 569, in __anext__ val = await self._event_aiter.__a next__() StopAsyncIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 288, in _tts_inference_task pushed_duration += await _tts_node_inference(i nput_segment, pushed_duration) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/generatio n.py", line 246, in _tts_node_inference async for audio_frame in tts_node: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/voice/agent.py" , line 446, in tts_node async for ev in stream: File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 572, in __anext__ raise exc # noqa: B904 File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 362, in _traceable_main_task await self._main_task() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello Hello Looks like we got an echo going here What can I do for you today (body=None, retryable=True) INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=assistant "pid": 1842902, text="['Hello Hello "job_id": Looks like we got an "AJ_K5LQVJWEMfVg", echo going here What "room_id": can I do for you "RM_v9WF5AjvPese"} today']"... INFO agent [LATENCY] LLM {"room": (user_commit -> "voice_assistant_room… agent_response): "pid": 1842902, 5324 ms "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:18 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:19 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Logged user message: Hello.... (total messages: 8) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1842902, transcript='Hello.' "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1267 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1842902, LLM/TTS timing) "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello.", "language": "eng", "transcript_delay": 1.0619192123413086, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1842902, y "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 0 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_room… first audio): 7566 "pid": 1842902, ms "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents using preemptive {"room": generation "voice_assistant_roo… "preemptive_lead_tim… 0.002396583557128906… "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1842902, text="['Hello.']"... "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:20 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1842902, File "job_id": "/var/www/html/liveki "AJ_K5LQVJWEMfVg", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_v9WF5AjvPese"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello Hi there How can I make your day better today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello Hi there How can I make your day better today (body=None, retryable=True) 16:13:22 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello Hi there How can I make your day better today (body=None, retryable=True) 16:13:23 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Logged user message: You're going to have to lie.... (total messages: 9) 16:13:24 INFO agent [EVENT] {"room": user_input_transcribe "voice_assistant_roo… d is_final=True "pid": 1842902, transcript="You're "job_id": going to have to "AJ_K5LQVJWEMfVg", lie." "room_id": "RM_v9WF5AjvPese"} Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1571 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1842902, LLM/TTS timing) "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "You're going to have to lie.", "language": "eng", "transcript_delay": 1.1790413856506348, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1842902, y "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 2 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 12129 "pid": 1842902, ms "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": conversation_item_add "voice_assistant_roo… ed role=user "pid": 1842902, text='["You\'re going "job_id": to have to lie."]'... "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:25 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1842902, File "job_id": "/var/www/html/liveki "AJ_K5LQVJWEMfVg", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_v9WF5AjvPese"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Oh that sounds intriguing Can you tell me more about what you need me to lie about (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Oh that sounds intriguing Can you tell me more about what you need me to lie about (body=None, retryable=True) 16:13:27 INFO agent [EVENT] {"room": user_state_changed "voice_assistant_roo… state=speaking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Oh that sounds intriguing Can you tell me more about what you need me to lie about (body=None, retryable=True) 16:13:28 INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": user_state_changed "voice_assistant_room… state=listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Logged user message: Hello?... (total messages: 10) Auto-saved to: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json 16:13:29 INFO agent [EVENT] {"room": user_input_transcrib "voice_assistant_room… ed is_final=True "pid": 1842902, transcript='Hello?' "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] User turn {"room": (speaking + STT "voice_assistant_roo… final): 1355 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] {"room": user_speech_committed "voice_assistant_roo… at T+0 (reference for "pid": 1842902, LLM/TTS timing) "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents received user {"room": transcript "voice_assistant_room… "user_transcript": "Hello?", "language": "eng", "transcript_delay": 1.103424310684204, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO livekit.agents Turn detector does {"room": not support language "voice_assistant_roo… eng "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": speech_created "voice_assistant_room… source=generate_repl "pid": 1842902, y "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] End-to-end {"room": (user_commit -> first "voice_assistant_roo… audio): 9 ms "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [LATENCY] TTS {"room": (agent_response -> "voice_assistant_roo… first audio): 16815 "pid": 1842902, ms "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": conversation_item_ad "voice_assistant_room… ded role=user "pid": 1842902, text="['Hello?']"... "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… listening -> thinking "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:30 ERROR livekit.agents error decoding audio {"room": Traceback (most "voice_assistant_roo… recent call last): "pid": 1842902, File "job_id": "/var/www/html/liveki "AJ_K5LQVJWEMfVg", t_frontend/BackEnd/ag "room_id": ent-starter-python/.v "RM_v9WF5AjvPese"} env/lib/python3.10/si te-packages/livekit/a gents/utils/codecs/de coder.py", line 199, in _decode_loop for frame in container.decode(audi o_stream): File "av/container/input.p yx", line 216, in decode File "av/packet.py", line 83, in av.packet.Packet.deco de File "av/audio/stream.py", line 36, in av.audio.stream.Audio Stream.decode File "av/audio/stream.py", line 46, in av.audio.stream.Audio Stream.decode File "av/codec/context.pyx ", line 447, in av.codec.context.Code cContext.decode File "av/codec/context.pyx ", line 339, in av.codec.context.Code cContext._send_packet _and_recv File "av/error.pyx", line 424, in av.error.err_check av.error.InvalidDataE rror: [Errno 1094995529] Invalid data found when processing input: 'avcodec_send_packet( )' WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 0.1s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 1, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello I promise no lies here Just honest answers What would you like to talk about or ask today (body=None, retryable=True) WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 2, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello I promise no lies here Just honest answers What would you like to talk about or ask today (body=None, retryable=True) 16:13:32 WARNI… livekit.agents failed to synthesize {"room": speech, retrying in "voice_assistant_roo… 2.0s "tts": Traceback (most "livekit.plugins.ele… recent call last): "attempt": 3, File "streamed": true, "/var/www/html/liveki "pid": 1842902, t_frontend/BackEnd/ag "job_id": ent-starter-python/.v "AJ_K5LQVJWEMfVg", env/lib/python3.10/si "room_id": te-packages/livekit/a "RM_v9WF5AjvPese"} gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello I promise no lies here Just honest answers What would you like to talk about or ask today (body=None, retryable=True) 16:13:34 ERROR livekit.agents AgentSession is {"room": closing due to "voice_assistant_roo… unrecoverable error "pid": 1842902, Traceback (most "job_id": recent call last): "AJ_K5LQVJWEMfVg", File "room_id": "/var/www/html/liveki "RM_v9WF5AjvPese"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/tts/tts.py", line 407, in _main_task raise APIError(f"no audio frames were pushed for text: {self._pushed_text}") livekit.agents._excep tions.APIError: no audio frames were pushed for text: Hello I promise no lies here Just honest answers What would you like to talk about or ask today (body=None, retryable=True) INFO agent [EVENT] {"room": agent_state_changed "voice_assistant_roo… thinking -> listening "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents input stream detached {"room": "voice_assistant_roo… "participant": "voice_assistant_use… "source": "SOURCE_MICROPHONE", "accepted_sources": ["SOURCE_MICROPHONE"… "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:13:35 DEBUG livekit.agents stream closed {"room": "voice_assistant_room_2994", "participant": "voice_assistant_user_3875", "source": "SOURCE_MICROPHONE", "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents session closed {"room": "voice_assistant_room_2994", "reason": "error", "error": "type='tts_error' timestamp=1774262614.996779 label='livekit.plugins.elev… error=APIError('no audio frames were pushed for text: Hello I promise no lies here Just honest answers What would you like to talk about or ask today') recoverable=False", "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:14:06 INFO livekit.agents closing agent session {"room": due to participant "voice_assistant_roo… disconnect (disable "participant": via "voice_assistant_use… `RoomInputOptions.clo "reason": se_on_disconnect=Fals "CLIENT_INITIATED", e`) "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} Session ended - Final save: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs/voice_assistant_room_2994_1774262569351.json - Messages: 10 - Duration: 99.40s 16:14:28 INFO livekit.agents process exiting {"reason": "", "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent Session ending, {"room": saving conversation "voice_assistant_room… log... "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} INFO agent Conversation log {"room": saved to: "voice_assistant_roo… /var/www/html/livekit "pid": 1842902, _frontend/BackEnd/age "job_id": nt-starter-python/log "AJ_K5LQVJWEMfVg", s/voice_assistant_roo "room_id": m_2994_1774262569351. "RM_v9WF5AjvPese"} json DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} WARNI… livekit.plugins… websocket closed {"room": unexpectedly "voice_assistant_roo… "pid": 1842902, "job_id": "AJ_K5LQVJWEMfVg", "room_id": "RM_v9WF5AjvPese"} 16:16:29 INFO livekit.agents shutting down worker {"id": "AW_9ZpTPFdR3bpr"} INFO livekit.agents process exiting {"reason": "", "pid": 1842754, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:16:30 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 16:16:31 INFO livekit.agents initializing process {"pid": 1858984, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:16:33 INFO livekit.agents process initialized {"pid": 1858984, "inference": true, "elapsed_time": 2.54} INFO livekit.agents initializing process {"pid": 1859267} INFO livekit.agents initializing process {"pid": 1859387} INFO livekit.agents initializing process {"pid": 1859389} INFO livekit.agents initializing process {"pid": 1859391} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 16:16:34 INFO agent Prewarming agent {"pid": 1859267} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1859389} process... INFO agent Prewarming agent {"pid": 1859391} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1859387} process... INFO agent Prewarm complete - VAD {"pid": 1859267} loaded INFO livekit.agents process initialized {"pid": 1859267, "elapsed_time": 0.27} DEBUG asyncio Using selector: {"pid": 1859267} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1859389} loaded DEBUG asyncio Using selector: {"pid": 1859389} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1859391} loaded DEBUG asyncio Using selector: {"pid": 1859391} EpollSelector INFO livekit.agents process initialized {"pid": 1859389, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1859391, "elapsed_time": 0.28} INFO livekit.agents initializing process {"pid": 1859622} INFO livekit.agents process initialized {"pid": 1859387, "elapsed_time": 0.29} INFO agent Prewarm complete - VAD {"pid": 1859387} loaded DEBUG asyncio Using selector: {"pid": 1859387} EpollSelector INFO livekit.agents initializing process {"pid": 1859624} INFO livekit.agents initializing process {"pid": 1859625} INFO livekit.agents initializing process {"pid": 1859629} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1859624} process... INFO agent Prewarming agent {"pid": 1859622} process... INFO agent Prewarming agent {"pid": 1859625} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1859629} process... INFO livekit.agents process initialized {"pid": 1859624, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1859624} loaded INFO agent Prewarm complete - VAD {"pid": 1859625} loaded DEBUG asyncio Using selector: {"pid": 1859624} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1859622} loaded DEBUG asyncio Using selector: {"pid": 1859625} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1859629} loaded DEBUG asyncio Using selector: {"pid": 1859622} EpollSelector DEBUG asyncio Using selector: {"pid": 1859629} EpollSelector INFO livekit.agents process initialized {"pid": 1859625, "elapsed_time": 0.27} INFO livekit.agents process initialized {"pid": 1859622, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1859629, "elapsed_time": 0.27} INFO livekit.agents initializing process {"pid": 1860023} INFO livekit.agents initializing process {"pid": 1860025} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1860023} process... INFO agent Prewarming agent {"pid": 1860025} process... INFO livekit.agents process initialized {"pid": 1860023, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 1860023} loaded INFO agent Prewarm complete - VAD {"pid": 1860025} loaded DEBUG asyncio Using selector: {"pid": 1860023} EpollSelector DEBUG asyncio Using selector: {"pid": 1860025} EpollSelector INFO livekit.agents process initialized {"pid": 1860025, "elapsed_time": 0.27} INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_EBUys9Ejg2bv", "url": "wss://test-voice-bot-fd… "region": "India South", "protocol": 16} 16:46:23 INFO livekit.agents received job request {"job_id": "AJ_YU47sKbETcko", "dispatch_id": "AD_Yje4k7ZdqLzZ", "room": "voice_assistant_room… "room_id": "RM_fRC867mQiQ9B", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_fRC867mQiQ9B", "room": "voice_assistant_room_… "job_id": "AJ_YU47sKbETcko", "dispatch_id": "AD_Yje4k7ZdqLzZ", "enable_recording": false} INFO agent Job received: {"pid": 1859267, room=voice_assistant "job_id": _room_5820, "AJ_YU47sKbETcko", job_id=AJ_YU47sKbETc "room_id": ko "RM_fRC867mQiQ9B"} INFO livekit.agents initializing process {"pid": 1889300} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1889300} process... INFO livekit.agents process initialized {"pid": 1889300, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1889300} loaded DEBUG asyncio Using selector: {"pid": 1889300} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 534 "voice_assistant_room… ms (total since job: "pid": 1859267, 534 ms) "job_id": "AJ_YU47sKbETcko", "room_id": "RM_fRC867mQiQ9B"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1859267, , 'agent_voice', "job_id": 'agent_language', "AJ_YU47sKbETcko", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_fRC867mQiQ9B"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=CARTESIA, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1859267, agent_stt_provider / "job_id": agent_tts_provider) "AJ_YU47sKbETcko", "room_id": "RM_fRC867mQiQ9B"} INFO agent STT: Cartesia {"room": model=ink-whisper "voice_assistant_roo… language=en "pid": 1859267, "job_id": "AJ_YU47sKbETcko", "room_id": "RM_fRC867mQiQ9B"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1859267, cfc-8119-259a79b27e12 "job_id": language=en "AJ_YU47sKbETcko", "room_id": "RM_fRC867mQiQ9B"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1859267, + LLM + "job_id": AgentSession): 681 ms "AJ_YU47sKbETcko", "room_id": "RM_fRC867mQiQ9B"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 1859267, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_YU47sKbETcko", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_fRC867mQiQ9B"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 1859267, Traceback (most "job_id": recent call last): "AJ_YU47sKbETcko", File "room_id": "/var/www/html/liveki "RM_fRC867mQiQ9B"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 16:47:10 DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "room disconnected", "user_initiated": false, "pid": 1859267, "job_id": "AJ_YU47sKbETcko", "room_id": "RM_fRC867mQiQ9B"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1859267, "job_id": "AJ_YU47sKbETcko", "room_id": "RM_fRC867mQiQ9B"} INFO livekit.agents process exiting {"reason": "room disconnected", "pid": 1859267, "job_id": "AJ_YU47sKbETcko", "room_id": "RM_fRC867mQiQ9B"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1859267, "job_id": "AJ_YU47sKbETcko", "room_id": "RM_fRC867mQiQ9B"} 16:57:59 INFO livekit.agents received job request {"job_id": "AJ_zemAjZHczoGD", "dispatch_id": "AD_cJhKBHPdH7Hz", "room": "voice_assistant_room… "room_id": "RM_3S8mXfr4hh4V", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_3S8mXfr4hh4V", "room": "voice_assistant_room_… "job_id": "AJ_zemAjZHczoGD", "dispatch_id": "AD_cJhKBHPdH7Hz", "enable_recording": false} INFO agent Job received: {"pid": 1859389, room=voice_assistant "job_id": _room_8118, "AJ_zemAjZHczoGD", job_id=AJ_zemAjZHczo "room_id": GD "RM_3S8mXfr4hh4V"} INFO livekit.agents initializing process {"pid": 1900084} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1900084} process... INFO livekit.agents process initialized {"pid": 1900084, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 1900084} loaded DEBUG asyncio Using selector: {"pid": 1900084} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 514 "voice_assistant_room… ms (total since job: "pid": 1859389, 514 ms) "job_id": "AJ_zemAjZHczoGD", "room_id": "RM_3S8mXfr4hh4V"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1859389, , 'agent_voice', "job_id": 'agent_language', "AJ_zemAjZHczoGD", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_3S8mXfr4hh4V"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1859389, agent_stt_provider / "job_id": agent_tts_provider) "AJ_zemAjZHczoGD", "room_id": "RM_3S8mXfr4hh4V"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1859389, "job_id": "AJ_zemAjZHczoGD", "room_id": "RM_3S8mXfr4hh4V"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=95d51f79-c397-4 "pid": 1859389, 6f9-b49a-23763d3eaa2d "job_id": language=en "AJ_zemAjZHczoGD", "room_id": "RM_3S8mXfr4hh4V"} 16:58:00 INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1859389, + LLM + "job_id": AgentSession): 638 ms "AJ_zemAjZHczoGD", "room_id": "RM_3S8mXfr4hh4V"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 1859389, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_zemAjZHczoGD", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_3S8mXfr4hh4V"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 1859389, Traceback (most "job_id": recent call last): "AJ_zemAjZHczoGD", File "room_id": "/var/www/html/liveki "RM_3S8mXfr4hh4V"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 16:59:13 DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "room disconnected", "user_initiated": false, "pid": 1859389, "job_id": "AJ_zemAjZHczoGD", "room_id": "RM_3S8mXfr4hh4V"} INFO livekit.agents process exiting {"reason": "room disconnected", "pid": 1859389, "job_id": "AJ_zemAjZHczoGD", "room_id": "RM_3S8mXfr4hh4V"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1859389, "job_id": "AJ_zemAjZHczoGD", "room_id": "RM_3S8mXfr4hh4V"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1859389, "job_id": "AJ_zemAjZHczoGD", "room_id": "RM_3S8mXfr4hh4V"} 17:00:00 INFO livekit.agents received job request {"job_id": "AJ_3Tx7yAgYMC4S", "dispatch_id": "AD_ukxCP92PyNfa", "room": "voice_assistant_room… "room_id": "RM_SPc8ctXmV2Ln", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_SPc8ctXmV2Ln", "room": "voice_assistant_room_… "job_id": "AJ_3Tx7yAgYMC4S", "dispatch_id": "AD_ukxCP92PyNfa", "enable_recording": false} INFO agent Job received: {"pid": 1859391, room=voice_assistant "job_id": _room_2098, "AJ_3Tx7yAgYMC4S", job_id=AJ_3Tx7yAgYMC "room_id": 4S "RM_SPc8ctXmV2Ln"} INFO livekit.agents initializing process {"pid": 1901952} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 17:00:01 INFO agent Prewarming agent {"pid": 1901952} process... INFO livekit.agents process initialized {"pid": 1901952, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 1901952} loaded DEBUG asyncio Using selector: {"pid": 1901952} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 521 "voice_assistant_room… ms (total since job: "pid": 1859391, 521 ms) "job_id": "AJ_3Tx7yAgYMC4S", "room_id": "RM_SPc8ctXmV2Ln"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1859391, , 'agent_voice', "job_id": 'agent_language', "AJ_3Tx7yAgYMC4S", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_SPc8ctXmV2Ln"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1859391, agent_stt_provider / "job_id": agent_tts_provider) "AJ_3Tx7yAgYMC4S", "room_id": "RM_SPc8ctXmV2Ln"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1859391, "job_id": "AJ_3Tx7yAgYMC4S", "room_id": "RM_SPc8ctXmV2Ln"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1859391, cfc-8119-259a79b27e12 "job_id": language=en "AJ_3Tx7yAgYMC4S", "room_id": "RM_SPc8ctXmV2Ln"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1859391, + LLM + "job_id": AgentSession): 699 ms "AJ_3Tx7yAgYMC4S", "room_id": "RM_SPc8ctXmV2Ln"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 1859391, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_3Tx7yAgYMC4S", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_SPc8ctXmV2Ln"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 1859391, Traceback (most "job_id": recent call last): "AJ_3Tx7yAgYMC4S", File "room_id": "/var/www/html/liveki "RM_SPc8ctXmV2Ln"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 17:02:08 INFO livekit.agents process exiting {"reason": "room disconnected", "pid": 1859391, "job_id": "AJ_3Tx7yAgYMC4S", "room_id": "RM_SPc8ctXmV2Ln"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "room disconnected", "user_initiated": false, "pid": 1859391, "job_id": "AJ_3Tx7yAgYMC4S", "room_id": "RM_SPc8ctXmV2Ln"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1859391, "job_id": "AJ_3Tx7yAgYMC4S", "room_id": "RM_SPc8ctXmV2Ln"} 17:10:51 INFO livekit.agents shutting down worker {"id": "AW_EBUys9Ejg2bv"} ERROR livekit.agents process exited with {"pid": 1889300} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1859387} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1859622} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1860025} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1859625} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1860023} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1901952} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1859624} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1859629} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1900084} non-zero exit code 255 ERROR livekit.agents process exited with {"pid": 1858984, non-zero exit code "inference": true} 255 ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 17:10:58 DEBUG asyncio Using selector: EpollSelector DEV livekit.agents Watching /var/www/html/livekit_frontend/BackEnd/ag ent-starter-python/src ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 17:10:59 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 17:11:00 INFO livekit.agents initializing process {"pid": 1912990, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 17:11:02 INFO livekit.agents process initialized {"pid": 1912990, "inference": true, "elapsed_time": 2.5} INFO livekit.agents initializing process {"pid": 1913091} INFO livekit.agents initializing process {"pid": 1913093} INFO livekit.agents initializing process {"pid": 1913095} INFO livekit.agents initializing process {"pid": 1913097} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ INFO agent Prewarming agent {"pid": 1913095} process... Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1913093} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1913091} process... INFO agent Prewarming agent {"pid": 1913097} process... INFO agent Prewarm complete - VAD {"pid": 1913095} loaded INFO livekit.agents process initialized {"pid": 1913095, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 1913095} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1913093} loaded INFO livekit.agents process initialized {"pid": 1913093, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 1913091} loaded INFO agent Prewarm complete - VAD {"pid": 1913097} loaded DEBUG asyncio Using selector: {"pid": 1913093} EpollSelector DEBUG asyncio Using selector: {"pid": 1913091} EpollSelector DEBUG asyncio Using selector: {"pid": 1913097} EpollSelector INFO livekit.agents process initialized {"pid": 1913091, "elapsed_time": 0.29} INFO livekit.agents process initialized {"pid": 1913097, "elapsed_time": 0.29} INFO livekit.agents initializing process {"pid": 1913272} INFO livekit.agents initializing process {"pid": 1913276} INFO livekit.agents initializing process {"pid": 1913278} INFO livekit.agents initializing process {"pid": 1913280} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 17:11:03 INFO agent Prewarming agent {"pid": 1913278} process... INFO agent Prewarming agent {"pid": 1913272} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1913276} process... INFO agent Prewarming agent {"pid": 1913280} process... INFO livekit.agents process initialized {"pid": 1913278, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1913272} loaded INFO agent Prewarm complete - VAD {"pid": 1913278} loaded INFO livekit.agents process initialized {"pid": 1913272, "elapsed_time": 0.27} DEBUG asyncio Using selector: {"pid": 1913272} EpollSelector DEBUG asyncio Using selector: {"pid": 1913278} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1913276} loaded INFO agent Prewarm complete - VAD {"pid": 1913280} loaded DEBUG asyncio Using selector: {"pid": 1913276} EpollSelector DEBUG asyncio Using selector: {"pid": 1913280} EpollSelector INFO livekit.agents process initialized {"pid": 1913276, "elapsed_time": 0.29} INFO livekit.agents process initialized {"pid": 1913280, "elapsed_time": 0.29} INFO livekit.agents initializing process {"pid": 1913459} INFO livekit.agents initializing process {"pid": 1913461} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1913459} process... INFO agent Prewarming agent {"pid": 1913461} process... INFO livekit.agents process initialized {"pid": 1913459, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1913459} loaded INFO agent Prewarm complete - VAD {"pid": 1913461} loaded DEBUG asyncio Using selector: {"pid": 1913459} EpollSelector DEBUG asyncio Using selector: {"pid": 1913461} EpollSelector INFO livekit.agents process initialized {"pid": 1913461, "elapsed_time": 0.28} INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_hDiVGrHG7tbt", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 16} 10:46:21 INFO livekit.agents received job request {"job_id": "AJ_XuCpLNqbhE44", "dispatch_id": "AD_nZ5Q2CyEoBYS", "room": "voice_assistant_room… "room_id": "RM_TopWvJGEb2VL", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_TopWvJGEb2VL", "room": "voice_assistant_room_… "job_id": "AJ_XuCpLNqbhE44", "dispatch_id": "AD_nZ5Q2CyEoBYS", "enable_recording": false} INFO agent Job received: {"pid": 1913095, room=voice_assistant "job_id": _room_5287, "AJ_XuCpLNqbhE44", job_id=AJ_XuCpLNqbhE "room_id": 44 "RM_TopWvJGEb2VL"} INFO livekit.agents initializing process {"pid": 2720204} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 2720204} process... 10:46:22 INFO livekit.agents process initialized {"pid": 2720204, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 2720204} loaded DEBUG asyncio Using selector: {"pid": 2720204} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 681 "voice_assistant_room… ms (total since job: "pid": 1913095, 681 ms) "job_id": "AJ_XuCpLNqbhE44", "room_id": "RM_TopWvJGEb2VL"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1913095, , 'agent_voice', "job_id": 'agent_language', "AJ_XuCpLNqbhE44", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_TopWvJGEb2VL"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1913095, agent_stt_provider / "job_id": agent_tts_provider) "AJ_XuCpLNqbhE44", "room_id": "RM_TopWvJGEb2VL"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1913095, "job_id": "AJ_XuCpLNqbhE44", "room_id": "RM_TopWvJGEb2VL"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=f786b574-daa5-4 "pid": 1913095, 673-aa0c-cbe3e8534c02 "job_id": language=en "AJ_XuCpLNqbhE44", "room_id": "RM_TopWvJGEb2VL"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1913095, + LLM + "job_id": AgentSession): 853 ms "AJ_XuCpLNqbhE44", "room_id": "RM_TopWvJGEb2VL"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 1913095, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_XuCpLNqbhE44", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_TopWvJGEb2VL"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 1913095, Traceback (most "job_id": recent call last): "AJ_XuCpLNqbhE44", File "room_id": "/var/www/html/liveki "RM_TopWvJGEb2VL"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 10:47:20 INFO livekit.agents process exiting {"reason": "", "pid": 1913095, "job_id": "AJ_XuCpLNqbhE44", "room_id": "RM_TopWvJGEb2VL"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1913095, "job_id": "AJ_XuCpLNqbhE44", "room_id": "RM_TopWvJGEb2VL"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1913095, "job_id": "AJ_XuCpLNqbhE44", "room_id": "RM_TopWvJGEb2VL"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1913095, "job_id": "AJ_XuCpLNqbhE44", "room_id": "RM_TopWvJGEb2VL"} 10:49:08 INFO livekit.agents received job request {"job_id": "AJ_eZW525GR7qvJ", "dispatch_id": "AD_z2PEiFzFzRZg", "room": "voice_assistant_room… "room_id": "RM_V6scG6KD9hX6", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_V6scG6KD9hX6", "room": "voice_assistant_room_… "job_id": "AJ_eZW525GR7qvJ", "dispatch_id": "AD_z2PEiFzFzRZg", "enable_recording": false} INFO agent Job received: {"pid": 1913093, room=voice_assistant_ "job_id": room_526, "AJ_eZW525GR7qvJ", job_id=AJ_eZW525GR7qv "room_id": J "RM_V6scG6KD9hX6"} INFO livekit.agents initializing process {"pid": 2722707} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 2722707} process... 10:49:09 INFO livekit.agents process initialized {"pid": 2722707, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 2722707} loaded DEBUG asyncio Using selector: {"pid": 2722707} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 347 "voice_assistant_room… ms (total since job: "pid": 1913093, 347 ms) "job_id": "AJ_eZW525GR7qvJ", "room_id": "RM_V6scG6KD9hX6"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1913093, , 'agent_voice', "job_id": 'agent_language', "AJ_eZW525GR7qvJ", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_V6scG6KD9hX6"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1913093, agent_stt_provider / "job_id": agent_tts_provider) "AJ_eZW525GR7qvJ", "room_id": "RM_V6scG6KD9hX6"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1913093, "job_id": "AJ_eZW525GR7qvJ", "room_id": "RM_V6scG6KD9hX6"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1913093, cfc-8119-259a79b27e12 "job_id": language=en "AJ_eZW525GR7qvJ", "room_id": "RM_V6scG6KD9hX6"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1913093, + LLM + "job_id": AgentSession): 468 ms "AJ_eZW525GR7qvJ", "room_id": "RM_V6scG6KD9hX6"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 1913093, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_eZW525GR7qvJ", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_V6scG6KD9hX6"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 1913093, Traceback (most "job_id": recent call last): "AJ_eZW525GR7qvJ", File "room_id": "/var/www/html/liveki "RM_V6scG6KD9hX6"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 10:49:55 DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "room disconnected", "user_initiated": false, "pid": 1913093, "job_id": "AJ_eZW525GR7qvJ", "room_id": "RM_V6scG6KD9hX6"} INFO livekit.agents process exiting {"reason": "room disconnected", "pid": 1913093, "job_id": "AJ_eZW525GR7qvJ", "room_id": "RM_V6scG6KD9hX6"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1913093, "job_id": "AJ_eZW525GR7qvJ", "room_id": "RM_V6scG6KD9hX6"} 10:50:18 INFO livekit.agents received job request {"job_id": "AJ_ZruD5M5hAyWR", "dispatch_id": "AD_nBTKxq68NddJ", "room": "voice_assistant_room… "room_id": "RM_6AE36wfVVHAh", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_6AE36wfVVHAh", "room": "voice_assistant_room_… "job_id": "AJ_ZruD5M5hAyWR", "dispatch_id": "AD_nBTKxq68NddJ", "enable_recording": false} INFO agent Job received: {"pid": 1913091, room=voice_assistant "job_id": _room_7009, "AJ_ZruD5M5hAyWR", job_id=AJ_ZruD5M5hAy "room_id": WR "RM_6AE36wfVVHAh"} INFO livekit.agents initializing process {"pid": 2723743} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 2723743} process... INFO livekit.agents process initialized {"pid": 2723743, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 2723743} loaded DEBUG asyncio Using selector: {"pid": 2723743} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 333 "voice_assistant_room… ms (total since job: "pid": 1913091, 333 ms) "job_id": "AJ_ZruD5M5hAyWR", "room_id": "RM_6AE36wfVVHAh"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 1913091, , 'agent_voice', "job_id": 'agent_language', "AJ_ZruD5M5hAyWR", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_6AE36wfVVHAh"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 1913091, agent_stt_provider / "job_id": agent_tts_provider) "AJ_ZruD5M5hAyWR", "room_id": "RM_6AE36wfVVHAh"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 1913091, "job_id": "AJ_ZruD5M5hAyWR", "room_id": "RM_6AE36wfVVHAh"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 1913091, cfc-8119-259a79b27e12 "job_id": language=en "AJ_ZruD5M5hAyWR", "room_id": "RM_6AE36wfVVHAh"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 1913091, + LLM + "job_id": AgentSession): 506 ms "AJ_ZruD5M5hAyWR", "room_id": "RM_6AE36wfVVHAh"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 1913091, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_ZruD5M5hAyWR", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_6AE36wfVVHAh"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 1913091, Traceback (most "job_id": recent call last): "AJ_ZruD5M5hAyWR", File "room_id": "/var/www/html/liveki "RM_6AE36wfVVHAh"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 10:51:13 INFO livekit.agents process exiting {"reason": "", "pid": 1913091, "job_id": "AJ_ZruD5M5hAyWR", "room_id": "RM_6AE36wfVVHAh"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 1913091, "job_id": "AJ_ZruD5M5hAyWR", "room_id": "RM_6AE36wfVVHAh"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 1913091, "job_id": "AJ_ZruD5M5hAyWR", "room_id": "RM_6AE36wfVVHAh"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 1913091, "job_id": "AJ_ZruD5M5hAyWR", "room_id": "RM_6AE36wfVVHAh"} 19:07:31 INFO livekit.agents shutting down worker {"id": "AW_hDiVGrHG7tbt"} INFO livekit.agents process exiting {"reason": "", "pid": 1912990, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 19:07:32 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 19:07:33 INFO livekit.agents initializing process {"pid": 3186040, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 19:07:36 INFO livekit.agents process initialized {"pid": 3186040, "inference": true, "elapsed_time": 2.6} INFO livekit.agents initializing process {"pid": 3186899} INFO livekit.agents initializing process {"pid": 3186901} INFO livekit.agents initializing process {"pid": 3186903} INFO livekit.agents initializing process {"pid": 3186905} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3186903} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3186901} process... INFO agent Prewarming agent {"pid": 3186899} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3186905} process... INFO livekit.agents process initialized {"pid": 3186903, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 3186903} loaded INFO agent Prewarm complete - VAD {"pid": 3186901} loaded INFO agent Prewarm complete - VAD {"pid": 3186899} loaded DEBUG asyncio Using selector: {"pid": 3186903} EpollSelector DEBUG asyncio Using selector: {"pid": 3186899} EpollSelector DEBUG asyncio Using selector: {"pid": 3186901} EpollSelector INFO livekit.agents process initialized {"pid": 3186901, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 3186899, "elapsed_time": 0.29} INFO agent Prewarm complete - VAD {"pid": 3186905} loaded DEBUG asyncio Using selector: {"pid": 3186905} EpollSelector INFO livekit.agents process initialized {"pid": 3186905, "elapsed_time": 0.29} INFO livekit.agents initializing process {"pid": 3187092} INFO livekit.agents initializing process {"pid": 3187095} INFO livekit.agents initializing process {"pid": 3187094} INFO livekit.agents initializing process {"pid": 3187107} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3187092} process... ============================================================ Initializing ConversationLogger... INFO agent Prewarming agent {"pid": 3187094} process... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3187095} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3187107} process... INFO livekit.agents process initialized {"pid": 3187092, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 3187092} loaded INFO livekit.agents process initialized {"pid": 3187094, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 3187094} loaded DEBUG asyncio Using selector: {"pid": 3187092} EpollSelector INFO agent Prewarm complete - VAD {"pid": 3187095} loaded DEBUG asyncio Using selector: {"pid": 3187094} EpollSelector INFO agent Prewarm complete - VAD {"pid": 3187107} loaded DEBUG asyncio Using selector: {"pid": 3187095} EpollSelector DEBUG asyncio Using selector: {"pid": 3187107} EpollSelector INFO livekit.agents process initialized {"pid": 3187095, "elapsed_time": 0.3} INFO livekit.agents process initialized {"pid": 3187107, "elapsed_time": 0.29} INFO livekit.agents initializing process {"pid": 3187302} INFO livekit.agents initializing process {"pid": 3187304} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 19:07:37 INFO agent Prewarming agent {"pid": 3187302} process... INFO agent Prewarming agent {"pid": 3187304} process... INFO agent Prewarm complete - VAD {"pid": 3187304} loaded INFO livekit.agents process initialized {"pid": 3187304, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 3187302} loaded DEBUG asyncio Using selector: {"pid": 3187304} EpollSelector DEBUG asyncio Using selector: {"pid": 3187302} EpollSelector INFO livekit.agents process initialized {"pid": 3187302, "elapsed_time": 0.27} INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_33KSysAbwrry", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 16} 19:28:57 INFO livekit.agents received job request {"job_id": "AJ_VPs5NVPHCtWH", "dispatch_id": "AD_iGA7vUkaTJgU", "room": "voice_assistant_room… "room_id": "RM_UdzD9AR7drbN", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_UdzD9AR7drbN", "room": "voice_assistant_room_… "job_id": "AJ_VPs5NVPHCtWH", "dispatch_id": "AD_iGA7vUkaTJgU", "enable_recording": false} INFO agent Job received: {"pid": 3186903, room=voice_assistant "job_id": _room_1080, "AJ_VPs5NVPHCtWH", job_id=AJ_VPs5NVPHCt "room_id": WH "RM_UdzD9AR7drbN"} INFO livekit.agents initializing process {"pid": 3205599} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 19:28:58 INFO agent Prewarming agent {"pid": 3205599} process... INFO agent [LATENCY] Startup: {"room": ctx.connect(): 255 "voice_assistant_room… ms (total since job: "pid": 3186903, 255 ms) "job_id": "AJ_VPs5NVPHCtWH", "room_id": "RM_UdzD9AR7drbN"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 3186903, , 'agent_voice', "job_id": 'agent_language', "AJ_VPs5NVPHCtWH", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_UdzD9AR7drbN"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=ELEVENLABS (from "pid": 3186903, agent_stt_provider / "job_id": agent_tts_provider) "AJ_VPs5NVPHCtWH", "room_id": "RM_UdzD9AR7drbN"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 3186903, "job_id": "AJ_VPs5NVPHCtWH", "room_id": "RM_UdzD9AR7drbN"} INFO agent TTS: ElevenLabs {"room": model=eleven_turbo_v "voice_assistant_room… 2_5 "pid": 3186903, voice=EXAVITQu4vr4xn "job_id": SDxMaL "AJ_VPs5NVPHCtWH", "room_id": "RM_UdzD9AR7drbN"} INFO agent Prewarm complete - VAD {"pid": 3205599} loaded INFO livekit.agents process initialized {"pid": 3205599, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 3205599} EpollSelector INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 3186903, + LLM + "job_id": AgentSession): 422 ms "AJ_VPs5NVPHCtWH", "room_id": "RM_UdzD9AR7drbN"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 3186903, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_VPs5NVPHCtWH", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_UdzD9AR7drbN"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 3186903, Traceback (most "job_id": recent call last): "AJ_VPs5NVPHCtWH", File "room_id": "/var/www/html/liveki "RM_UdzD9AR7drbN"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 19:29:48 INFO livekit.agents process exiting {"reason": "", "pid": 3186903, "job_id": "AJ_VPs5NVPHCtWH", "room_id": "RM_UdzD9AR7drbN"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 3186903, "job_id": "AJ_VPs5NVPHCtWH", "room_id": "RM_UdzD9AR7drbN"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 3186903, "job_id": "AJ_VPs5NVPHCtWH", "room_id": "RM_UdzD9AR7drbN"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 3186903, "job_id": "AJ_VPs5NVPHCtWH", "room_id": "RM_UdzD9AR7drbN"} 11:46:14 INFO livekit.agents shutting down worker {"id": "AW_33KSysAbwrry"} INFO livekit.agents process exiting {"reason": "", "pid": 3186040, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 11:46:15 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 11:46:16 INFO livekit.agents initializing process {"pid": 3986352, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 11:46:19 INFO livekit.agents process initialized {"pid": 3986352, "inference": true, "elapsed_time": 2.58} INFO livekit.agents initializing process {"pid": 3987188} INFO livekit.agents initializing process {"pid": 3987190} INFO livekit.agents initializing process {"pid": 3987192} INFO livekit.agents initializing process {"pid": 3987194} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logsDirectory exists: True Directory writable: True ConversationLogger ready Directory exists: True============================================================ Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3987190} process... INFO agent Prewarming agent {"pid": 3987194} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3987188} process... INFO agent Prewarming agent {"pid": 3987192} process... INFO livekit.agents process initialized {"pid": 3987190, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 3987190} loaded INFO agent Prewarm complete - VAD {"pid": 3987192} loaded INFO agent Prewarm complete - VAD {"pid": 3987188} loaded INFO agent Prewarm complete - VAD {"pid": 3987194} loaded DEBUG asyncio Using selector: {"pid": 3987190} EpollSelector DEBUG asyncio Using selector: {"pid": 3987192} EpollSelector DEBUG asyncio Using selector: {"pid": 3987194} EpollSelector DEBUG asyncio Using selector: {"pid": 3987188} EpollSelector INFO livekit.agents process initialized {"pid": 3987188, "elapsed_time": 0.32} INFO livekit.agents process initialized {"pid": 3987192, "elapsed_time": 0.32} INFO livekit.agents process initialized {"pid": 3987194, "elapsed_time": 0.32} INFO livekit.agents initializing process {"pid": 3987365} INFO livekit.agents initializing process {"pid": 3987370} INFO livekit.agents initializing process {"pid": 3987454} INFO livekit.agents initializing process {"pid": 3987456} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3987365} process... INFO agent Prewarming agent {"pid": 3987370} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3987454} process... INFO agent Prewarming agent {"pid": 3987456} process... INFO livekit.agents process initialized {"pid": 3987365, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 3987365} loaded INFO agent Prewarm complete - VAD {"pid": 3987370} loaded DEBUG asyncio Using selector: {"pid": 3987370} EpollSelector DEBUG asyncio Using selector: {"pid": 3987365} EpollSelector INFO livekit.agents process initialized {"pid": 3987370, "elapsed_time": 0.26} INFO livekit.agents initializing process {"pid": 3987557} INFO livekit.agents initializing process {"pid": 3987559} INFO agent Prewarm complete - VAD {"pid": 3987454} loaded DEBUG asyncio Using selector: {"pid": 3987454} EpollSelector INFO agent Prewarm complete - VAD {"pid": 3987456} loaded INFO livekit.agents process initialized {"pid": 3987454, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 3987456} EpollSelector INFO livekit.agents process initialized {"pid": 3987456, "elapsed_time": 0.26} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 11:46:20 INFO agent Prewarming agent {"pid": 3987557} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 3987559} process... INFO livekit.agents process initialized {"pid": 3987557, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 3987557} loaded DEBUG asyncio Using selector: {"pid": 3987557} EpollSelector INFO agent Prewarm complete - VAD {"pid": 3987559} loaded DEBUG asyncio Using selector: {"pid": 3987559} EpollSelector INFO livekit.agents process initialized {"pid": 3987559, "elapsed_time": 0.27} INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_At9t8LAfxa8r", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 16} 15:18:50 INFO livekit.agents received job request {"job_id": "AJ_qKk5pxJsGwJZ", "dispatch_id": "AD_ok8uNM5E4AUo", "room": "voice_assistant_room… "room_id": "RM_smUtuD5Rhgy3", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_smUtuD5Rhgy3", "room": "voice_assistant_room_… "job_id": "AJ_qKk5pxJsGwJZ", "dispatch_id": "AD_ok8uNM5E4AUo", "enable_recording": false} INFO agent Job received: {"pid": 3987190, room=voice_assistant "job_id": _room_2571, "AJ_qKk5pxJsGwJZ", job_id=AJ_qKk5pxJsGw "room_id": JZ "RM_smUtuD5Rhgy3"} INFO livekit.agents initializing process {"pid": 1108} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:18:51 INFO agent Prewarming agent process... {"pid": 1108} INFO livekit.agents process initialized {"pid": 1108, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD loaded {"pid": 1108} DEBUG asyncio Using selector: EpollSelector {"pid": 1108} INFO agent [LATENCY] Startup: {"room": ctx.connect(): 554 "voice_assistant_room… ms (total since job: "pid": 3987190, 554 ms) "job_id": "AJ_qKk5pxJsGwJZ", "room_id": "RM_smUtuD5Rhgy3"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 3987190, , 'agent_voice', "job_id": 'agent_language', "AJ_qKk5pxJsGwJZ", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_smUtuD5Rhgy3"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 3987190, agent_stt_provider / "job_id": agent_tts_provider) "AJ_qKk5pxJsGwJZ", "room_id": "RM_smUtuD5Rhgy3"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 3987190, "job_id": "AJ_qKk5pxJsGwJZ", "room_id": "RM_smUtuD5Rhgy3"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 3987190, cfc-8119-259a79b27e12 "job_id": language=en "AJ_qKk5pxJsGwJZ", "room_id": "RM_smUtuD5Rhgy3"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 3987190, + LLM + "job_id": AgentSession): 670 ms "AJ_qKk5pxJsGwJZ", "room_id": "RM_smUtuD5Rhgy3"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 3987190, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_qKk5pxJsGwJZ", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_smUtuD5Rhgy3"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 3987190, Traceback (most "job_id": recent call last): "AJ_qKk5pxJsGwJZ", File "room_id": "/var/www/html/liveki "RM_smUtuD5Rhgy3"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 15:19:23 INFO livekit.agents process exiting {"reason": "room disconnected", "pid": 3987190, "job_id": "AJ_qKk5pxJsGwJZ", "room_id": "RM_smUtuD5Rhgy3"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "room disconnected", "user_initiated": false, "pid": 3987190, "job_id": "AJ_qKk5pxJsGwJZ", "room_id": "RM_smUtuD5Rhgy3"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 3987190, "job_id": "AJ_qKk5pxJsGwJZ", "room_id": "RM_smUtuD5Rhgy3"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 3987190, "job_id": "AJ_qKk5pxJsGwJZ", "room_id": "RM_smUtuD5Rhgy3"} 15:26:30 INFO livekit.agents shutting down worker {"id": "AW_At9t8LAfxa8r"} INFO livekit.agents process exiting {"reason": "", "pid": 3986352, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:26:32 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 15:26:33 INFO livekit.agents initializing process {"pid": 10860, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:26:35 INFO livekit.agents process initialized {"pid": 10860, "inference": true, "elapsed_time": 2.67} INFO livekit.agents initializing process {"pid": 11664} INFO livekit.agents initializing process {"pid": 11666} INFO livekit.agents initializing process {"pid": 11668} INFO livekit.agents initializing process {"pid": 11670} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 11664} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 11668} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... INFO agent Prewarming agent process... {"pid": 11666} ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 11670} 15:26:36 INFO livekit.agents process initialized {"pid": 11664, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 11668} loaded INFO agent Prewarm complete - VAD {"pid": 11664} loaded DEBUG asyncio Using selector: {"pid": 11668} EpollSelector DEBUG asyncio Using selector: {"pid": 11664} EpollSelector INFO agent Prewarm complete - VAD {"pid": 11666} loaded INFO agent Prewarm complete - VAD {"pid": 11670} loaded DEBUG asyncio Using selector: {"pid": 11670} EpollSelector DEBUG asyncio Using selector: {"pid": 11666} EpollSelector INFO livekit.agents process initialized {"pid": 11668, "elapsed_time": 0.29} INFO livekit.agents process initialized {"pid": 11666, "elapsed_time": 0.3} INFO livekit.agents process initialized {"pid": 11670, "elapsed_time": 0.29} INFO livekit.agents initializing process {"pid": 11849} INFO livekit.agents initializing process {"pid": 11853} INFO livekit.agents initializing process {"pid": 11856} INFO livekit.agents initializing process {"pid": 11858} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 11849} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 11856} INFO agent Prewarming agent process... {"pid": 11853} INFO agent Prewarming agent process... {"pid": 11858} INFO livekit.agents process initialized {"pid": 11849, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 11849} loaded INFO agent Prewarm complete - VAD {"pid": 11856} loaded INFO agent Prewarm complete - VAD {"pid": 11858} loaded INFO agent Prewarm complete - VAD {"pid": 11853} loaded DEBUG asyncio Using selector: {"pid": 11849} EpollSelector DEBUG asyncio Using selector: {"pid": 11856} EpollSelector DEBUG asyncio Using selector: {"pid": 11858} EpollSelector DEBUG asyncio Using selector: {"pid": 11853} EpollSelector INFO livekit.agents process initialized {"pid": 11853, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 11856, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 11858, "elapsed_time": 0.3} INFO livekit.agents initializing process {"pid": 12031} INFO livekit.agents initializing process {"pid": 12034} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 12031} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 12034} INFO agent Prewarm complete - VAD {"pid": 12031} loaded INFO livekit.agents process initialized {"pid": 12031, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 12031} EpollSelector INFO agent Prewarm complete - VAD {"pid": 12034} loaded DEBUG asyncio Using selector: {"pid": 12034} EpollSelector INFO livekit.agents process initialized {"pid": 12034, "elapsed_time": 0.26} INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_TWWYHqEL6i4W", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 16} 15:33:29 INFO livekit.agents received job request {"job_id": "AJ_TqB5uptC9vYW", "dispatch_id": "AD_TYyK3WoAf7Uz", "room": "voice_assistant_room… "room_id": "RM_6CaQSTipYt2F", "agent_name": "default", "resuming": false, "enable_recording": false} INFO livekit.agents received job request {"job_id": "AJ_TqB5uptC9vYW", "dispatch_id": "AD_TYyK3WoAf7Uz", "room": "voice_assistant_room… "room_id": "RM_6CaQSTipYt2F", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_6CaQSTipYt2F", "room": "voice_assistant_room_… "job_id": "AJ_TqB5uptC9vYW", "dispatch_id": "AD_TYyK3WoAf7Uz", "enable_recording": false} INFO agent Job received: {"pid": 11664, room=voice_assistant "job_id": _room_9676, "AJ_TqB5uptC9vYW", job_id=AJ_TqB5uptC9v "room_id": YW "RM_6CaQSTipYt2F"} INFO livekit.agents initializing process {"pid": 22291} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 22291} INFO livekit.agents process initialized {"pid": 22291, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 22291} loaded DEBUG asyncio Using selector: {"pid": 22291} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 409 "voice_assistant_room… ms (total since job: "pid": 11664, 409 ms) "job_id": "AJ_TqB5uptC9vYW", "room_id": "RM_6CaQSTipYt2F"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 11664, , "job_id": 'agent_first_message' "AJ_TqB5uptC9vYW", , 'agent_voice', "room_id": 'agent_language', "RM_6CaQSTipYt2F"} 'agent_llm_model', 'agent_stt_model', 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 11664, agent_stt_provider / "job_id": agent_tts_provider) "AJ_TqB5uptC9vYW", "room_id": "RM_6CaQSTipYt2F"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 11664, "job_id": "AJ_TqB5uptC9vYW", "room_id": "RM_6CaQSTipYt2F"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=9626c31c-bec5-4 "pid": 11664, cca-baa8-f8ba9e84c8bc "job_id": language=en "AJ_TqB5uptC9vYW", "room_id": "RM_6CaQSTipYt2F"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 11664, + LLM + "job_id": AgentSession): 586 ms "AJ_TqB5uptC9vYW", "room_id": "RM_6CaQSTipYt2F"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 11664, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_TqB5uptC9vYW", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_6CaQSTipYt2F"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 11664, Traceback (most "job_id": recent call last): "AJ_TqB5uptC9vYW", File "room_id": "/var/www/html/liveki "RM_6CaQSTipYt2F"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 15:33:36 WARNI… livekit.agents assignment for job {"job_request": AJ_TqB5uptC9vYW "", "agent_name": "default"} ERROR livekit.agents job_request_fnc {"job_request": failed "", File "agent_name": "/var/www/html/liveki "default"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/worker.py", line 1178, in _job_request_task await self._request_fnc(job _req) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/worker.py", line 70, in _default_request_fnc await ctx.accept() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/job.py", line 689, in accept await self._on_accept(accep t_arguments) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/worker.py", line 1145, in _on_accept raise AssignmentTimeoutErro r() from None livekit.agents._excep tions.AssignmentTimeo utError 15:34:16 INFO livekit.agents process exiting {"reason": "", "pid": 11664, "job_id": "AJ_TqB5uptC9vYW", "room_id": "RM_6CaQSTipYt2F"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 11664, "job_id": "AJ_TqB5uptC9vYW", "room_id": "RM_6CaQSTipYt2F"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 11664, "job_id": "AJ_TqB5uptC9vYW", "room_id": "RM_6CaQSTipYt2F"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 11664, "job_id": "AJ_TqB5uptC9vYW", "room_id": "RM_6CaQSTipYt2F"} 15:34:28 INFO livekit.agents received job request {"job_id": "AJ_Bkwnaw5QX3rL", "dispatch_id": "AD_iTc9jmW96eUF", "room": "voice_assistant_room… "room_id": "RM_BXPMFZdTmguf", "agent_name": "default", "resuming": false, "enable_recording": false} INFO livekit.agents received job request {"job_id": "AJ_Bkwnaw5QX3rL", "dispatch_id": "AD_iTc9jmW96eUF", "room": "voice_assistant_room… "room_id": "RM_BXPMFZdTmguf", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_BXPMFZdTmguf", "room": "voice_assistant_room_… "job_id": "AJ_Bkwnaw5QX3rL", "dispatch_id": "AD_iTc9jmW96eUF", "enable_recording": false} INFO agent Job received: {"pid": 11668, room=voice_assistant "job_id": _room_1081, "AJ_Bkwnaw5QX3rL", job_id=AJ_Bkwnaw5QX3 "room_id": rL "RM_BXPMFZdTmguf"} INFO livekit.agents initializing process {"pid": 23474} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 23474} INFO livekit.agents process initialized {"pid": 23474, "elapsed_time": 0.27} INFO agent Prewarm complete - VAD {"pid": 23474} loaded DEBUG asyncio Using selector: {"pid": 23474} EpollSelector 15:34:30 INFO agent [LATENCY] Startup: {"room": ctx.connect(): 1966 "voice_assistant_room… ms (total since job: "pid": 11668, 1966 ms) "job_id": "AJ_Bkwnaw5QX3rL", "room_id": "RM_BXPMFZdTmguf"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 11668, , 'agent_voice', "job_id": 'agent_language', "AJ_Bkwnaw5QX3rL", 'agent_llm_model', "room_id": 'agent_stt_model', "RM_BXPMFZdTmguf"} 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 11668, agent_stt_provider / "job_id": agent_tts_provider) "AJ_Bkwnaw5QX3rL", "room_id": "RM_BXPMFZdTmguf"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 11668, "job_id": "AJ_Bkwnaw5QX3rL", "room_id": "RM_BXPMFZdTmguf"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 11668, cfc-8119-259a79b27e12 "job_id": language=en "AJ_Bkwnaw5QX3rL", "room_id": "RM_BXPMFZdTmguf"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 11668, + LLM + "job_id": AgentSession): 2090 "AJ_Bkwnaw5QX3rL", ms "room_id": "RM_BXPMFZdTmguf"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 11668, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_Bkwnaw5QX3rL", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_BXPMFZdTmguf"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 11668, Traceback (most "job_id": recent call last): "AJ_Bkwnaw5QX3rL", File "room_id": "/var/www/html/liveki "RM_BXPMFZdTmguf"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 15:34:35 WARNI… livekit.agents assignment for job {"job_request": AJ_Bkwnaw5QX3rL "", "agent_name": "default"} ERROR livekit.agents job_request_fnc {"job_request": failed "", File "agent_name": "/var/www/html/liveki "default"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/worker.py", line 1178, in _job_request_task await self._request_fnc(job _req) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/worker.py", line 70, in _default_request_fnc await ctx.accept() File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/job.py", line 689, in accept await self._on_accept(accep t_arguments) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/worker.py", line 1145, in _on_accept raise AssignmentTimeoutErro r() from None livekit.agents._excep tions.AssignmentTimeo utError 15:35:18 DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 11668, "job_id": "AJ_Bkwnaw5QX3rL", "room_id": "RM_BXPMFZdTmguf"} INFO livekit.agents process exiting {"reason": "", "pid": 11668, "job_id": "AJ_Bkwnaw5QX3rL", "room_id": "RM_BXPMFZdTmguf"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 11668, "job_id": "AJ_Bkwnaw5QX3rL", "room_id": "RM_BXPMFZdTmguf"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 11668, "job_id": "AJ_Bkwnaw5QX3rL", "room_id": "RM_BXPMFZdTmguf"} 15:35:20 INFO livekit.agents received job request {"job_id": "AJ_YQQxUqsqpzGy", "dispatch_id": "AD_Z8X26uRNTpCv", "room": "voice_assistant_room… "room_id": "RM_8cTScvuBU2rt", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_8cTScvuBU2rt", "room": "voice_assistant_room_… "job_id": "AJ_YQQxUqsqpzGy", "dispatch_id": "AD_Z8X26uRNTpCv", "enable_recording": false} INFO agent Job received: {"pid": 11666, room=voice_assistant "job_id": _room_9325, "AJ_YQQxUqsqpzGy", job_id=AJ_YQQxUqsqpz "room_id": Gy "RM_8cTScvuBU2rt"} INFO livekit.agents initializing process {"pid": 24584} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:35:21 INFO agent Prewarming agent process... {"pid": 24584} INFO livekit.agents process initialized {"pid": 24584, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 24584} loaded INFO agent [LATENCY] Startup: {"room": ctx.connect(): 308 "voice_assistant_room… ms (total since job: "pid": 11666, 308 ms) "job_id": "AJ_YQQxUqsqpzGy", "room_id": "RM_8cTScvuBU2rt"} DEBUG asyncio Using selector: {"pid": 24584} EpollSelector INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 11666, , "job_id": 'agent_first_message' "AJ_YQQxUqsqpzGy", , 'agent_voice', "room_id": 'agent_language', "RM_8cTScvuBU2rt"} 'agent_llm_model', 'agent_stt_model', 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 11666, agent_stt_provider / "job_id": agent_tts_provider) "AJ_YQQxUqsqpzGy", "room_id": "RM_8cTScvuBU2rt"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 11666, "job_id": "AJ_YQQxUqsqpzGy", "room_id": "RM_8cTScvuBU2rt"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 11666, cfc-8119-259a79b27e12 "job_id": language=en "AJ_YQQxUqsqpzGy", "room_id": "RM_8cTScvuBU2rt"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 11666, + LLM + "job_id": AgentSession): 433 ms "AJ_YQQxUqsqpzGy", "room_id": "RM_8cTScvuBU2rt"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 11666, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_YQQxUqsqpzGy", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_8cTScvuBU2rt"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 11666, Traceback (most "job_id": recent call last): "AJ_YQQxUqsqpzGy", File "room_id": "/var/www/html/liveki "RM_8cTScvuBU2rt"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 15:36:15 INFO livekit.agents process exiting {"reason": "", "pid": 11666, "job_id": "AJ_YQQxUqsqpzGy", "room_id": "RM_8cTScvuBU2rt"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 11666, "job_id": "AJ_YQQxUqsqpzGy", "room_id": "RM_8cTScvuBU2rt"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 11666, "job_id": "AJ_YQQxUqsqpzGy", "room_id": "RM_8cTScvuBU2rt"} 15:37:09 INFO livekit.agents received job request {"job_id": "AJ_aJNquL6dQeGW", "dispatch_id": "AD_e6ZcfZSnnwQ7", "room": "voice_assistant_room… "room_id": "RM_k9zMT9FU75Xc", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_k9zMT9FU75Xc", "room": "voice_assistant_room_… "job_id": "AJ_aJNquL6dQeGW", "dispatch_id": "AD_e6ZcfZSnnwQ7", "enable_recording": false} INFO agent Job received: {"pid": 11670, room=voice_assistant "job_id": _room_4063, "AJ_aJNquL6dQeGW", job_id=AJ_aJNquL6dQe "room_id": GW "RM_k9zMT9FU75Xc"} INFO livekit.agents initializing process {"pid": 1177114} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:37:10 INFO agent Prewarming agent {"pid": 1177114} process... INFO agent [LATENCY] Startup: {"room": ctx.connect(): 306 "voice_assistant_room… ms (total since job: "pid": 11670, 306 ms) "job_id": "AJ_aJNquL6dQeGW", "room_id": "RM_k9zMT9FU75Xc"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 11670, , "job_id": 'agent_first_message' "AJ_aJNquL6dQeGW", , 'agent_voice', "room_id": 'agent_language', "RM_k9zMT9FU75Xc"} 'agent_llm_model', 'agent_stt_model', 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 11670, agent_stt_provider / "job_id": agent_tts_provider) "AJ_aJNquL6dQeGW", "room_id": "RM_k9zMT9FU75Xc"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 11670, "job_id": "AJ_aJNquL6dQeGW", "room_id": "RM_k9zMT9FU75Xc"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 11670, cfc-8119-259a79b27e12 "job_id": language=en "AJ_aJNquL6dQeGW", "room_id": "RM_k9zMT9FU75Xc"} INFO livekit.agents process initialized {"pid": 1177114, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1177114} loaded DEBUG asyncio Using selector: {"pid": 1177114} EpollSelector INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 11670, + LLM + "job_id": AgentSession): 475 ms "AJ_aJNquL6dQeGW", "room_id": "RM_k9zMT9FU75Xc"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 11670, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_aJNquL6dQeGW", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_k9zMT9FU75Xc"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 11670, Traceback (most "job_id": recent call last): "AJ_aJNquL6dQeGW", File "room_id": "/var/www/html/liveki "RM_k9zMT9FU75Xc"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 15:37:43 INFO livekit.agents process exiting {"reason": "", "pid": 11670, "job_id": "AJ_aJNquL6dQeGW", "room_id": "RM_k9zMT9FU75Xc"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 11670, "job_id": "AJ_aJNquL6dQeGW", "room_id": "RM_k9zMT9FU75Xc"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 11670, "job_id": "AJ_aJNquL6dQeGW", "room_id": "RM_k9zMT9FU75Xc"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 11670, "job_id": "AJ_aJNquL6dQeGW", "room_id": "RM_k9zMT9FU75Xc"} 18:29:44 INFO livekit.agents received job request {"job_id": "AJ_V4GfEqc7oZt4", "dispatch_id": "AD_S8NsBY3hNn8n", "room": "voice_assistant_room… "room_id": "RM_88HWoRdn4i9t", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_88HWoRdn4i9t", "room": "voice_assistant_room_… "job_id": "AJ_V4GfEqc7oZt4", "dispatch_id": "AD_S8NsBY3hNn8n", "enable_recording": false} INFO agent Job received: {"pid": 11849, room=voice_assistant "job_id": _room_2459, "AJ_V4GfEqc7oZt4", job_id=AJ_V4GfEqc7oZ "room_id": t4 "RM_88HWoRdn4i9t"} INFO livekit.agents initializing process {"pid": 1315172} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1315172} process... INFO agent [LATENCY] Startup: {"room": ctx.connect(): 378 "voice_assistant_room… ms (total since job: "pid": 11849, 378 ms) "job_id": "AJ_V4GfEqc7oZt4", "room_id": "RM_88HWoRdn4i9t"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 11849, , "job_id": 'agent_first_message' "AJ_V4GfEqc7oZt4", , 'agent_voice', "room_id": 'agent_language', "RM_88HWoRdn4i9t"} 'agent_llm_model', 'agent_stt_model', 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Prewarm complete - VAD {"pid": 1315172} loaded INFO livekit.agents process initialized {"pid": 1315172, "elapsed_time": 0.3} INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 11849, agent_stt_provider / "job_id": agent_tts_provider) "AJ_V4GfEqc7oZt4", "room_id": "RM_88HWoRdn4i9t"} DEBUG asyncio Using selector: {"pid": 1315172} EpollSelector INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 11849, "job_id": "AJ_V4GfEqc7oZt4", "room_id": "RM_88HWoRdn4i9t"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 11849, cfc-8119-259a79b27e12 "job_id": language=en "AJ_V4GfEqc7oZt4", "room_id": "RM_88HWoRdn4i9t"} 18:29:45 INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 11849, + LLM + "job_id": AgentSession): 554 ms "AJ_V4GfEqc7oZt4", "room_id": "RM_88HWoRdn4i9t"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 11849, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_V4GfEqc7oZt4", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_88HWoRdn4i9t"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 11849, Traceback (most "job_id": recent call last): "AJ_V4GfEqc7oZt4", File "room_id": "/var/www/html/liveki "RM_88HWoRdn4i9t"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 18:30:32 INFO livekit.agents received job request {"job_id": "AJ_ULEBGsxEQ8Zs", "dispatch_id": "AD_arTYksKJn5se", "room": "voice_assistant_room… "room_id": "RM_zFzhR3GYTHBT", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_zFzhR3GYTHBT", "room": "voice_assistant_room_… "job_id": "AJ_ULEBGsxEQ8Zs", "dispatch_id": "AD_arTYksKJn5se", "enable_recording": false} INFO livekit.agents initializing process {"pid": 1315863} INFO agent Job received: {"pid": 11853, room=voice_assistant "job_id": _room_8492, "AJ_ULEBGsxEQ8Zs", job_id=AJ_ULEBGsxEQ8 "room_id": Zs "RM_zFzhR3GYTHBT"} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1315863} process... INFO agent Prewarm complete - VAD {"pid": 1315863} loaded INFO livekit.agents process initialized {"pid": 1315863, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 1315863} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 407 "voice_assistant_room… ms (total since job: "pid": 11853, 407 ms) "job_id": "AJ_ULEBGsxEQ8Zs", "room_id": "RM_zFzhR3GYTHBT"} INFO agent Using room metadata {"room": (after connect): "voice_assistant_roo… ['agent_instructions' "pid": 11853, , "job_id": 'agent_first_message' "AJ_ULEBGsxEQ8Zs", , 'agent_voice', "room_id": 'agent_language', "RM_zFzhR3GYTHBT"} 'agent_llm_model', 'agent_stt_model', 'agent_stt_language_c ode', 'agent_stt_provider', 'agent_tts_model', 'agent_tts_encoding', 'agent_tts_provider'] INFO agent Providers: {"room": STT=ELEVENLABS, "voice_assistant_roo… TTS=CARTESIA (from "pid": 11853, agent_stt_provider / "job_id": agent_tts_provider) "AJ_ULEBGsxEQ8Zs", "room_id": "RM_zFzhR3GYTHBT"} INFO agent STT: ElevenLabs {"room": language=en "voice_assistant_roo… "pid": 11853, "job_id": "AJ_ULEBGsxEQ8Zs", "room_id": "RM_zFzhR3GYTHBT"} INFO agent TTS: Cartesia {"room": model=sonic-3 "voice_assistant_roo… voice=faf0731e-dfb9-4 "pid": 11853, cfc-8119-259a79b27e12 "job_id": language=en "AJ_ULEBGsxEQ8Zs", "room_id": "RM_zFzhR3GYTHBT"} INFO agent [LATENCY] Startup: {"room": pipeline setup "voice_assistant_roo… (metadata + STT + TTS "pid": 11853, + LLM + "job_id": AgentSession): 581 ms "AJ_ULEBGsxEQ8Zs", "room_id": "RM_zFzhR3GYTHBT"} ERROR agent Failed to start voice {"room": session (check API "voice_assistant_roo… keys: "pid": 11853, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_ULEBGsxEQ8Zs", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_zFzhR3GYTHBT"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "voice_assistant_roo… task "pid": 11853, Traceback (most "job_id": recent call last): "AJ_ULEBGsxEQ8Zs", File "room_id": "/var/www/html/liveki "RM_zFzhR3GYTHBT"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 18:30:42 INFO livekit.agents process exiting {"reason": "", "pid": 11849, "job_id": "AJ_V4GfEqc7oZt4", "room_id": "RM_88HWoRdn4i9t"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 11849, "job_id": "AJ_V4GfEqc7oZt4", "room_id": "RM_88HWoRdn4i9t"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 11849, "job_id": "AJ_V4GfEqc7oZt4", "room_id": "RM_88HWoRdn4i9t"} DEBUG livekit.agents http_session(): {"room": creating a new "voice_assistant_roo… httpclient ctx "pid": 11849, "job_id": "AJ_V4GfEqc7oZt4", "room_id": "RM_88HWoRdn4i9t"} 18:31:13 INFO livekit.agents process exiting {"reason": "", "pid": 11853, "job_id": "AJ_ULEBGsxEQ8Zs", "room_id": "RM_zFzhR3GYTHBT"} DEBUG livekit.agents shutting down job {"room": task "voice_assistant_room… "reason": "", "user_initiated": false, "pid": 11853, "job_id": "AJ_ULEBGsxEQ8Zs", "room_id": "RM_zFzhR3GYTHBT"} DEBUG livekit.agents http_session(): {"room": closing the "voice_assistant_room… httpclient ctx "pid": 11853, "job_id": "AJ_ULEBGsxEQ8Zs", "room_id": "RM_zFzhR3GYTHBT"} 21:24:33 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:24:38 WARNI… livekit.agents failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://voice-6whiebj4.livekit.cloud/a gent' 21:24:44 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_C8GErRAoqt65", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 15:44:40 INFO livekit.agents shutting down worker {"id": "AW_C8GErRAoqt65"} INFO livekit.agents process exiting {"reason": "", "pid": 10860, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:44:41 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor 15:44:42 INFO livekit.agents initializing process {"pid": 1426310, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:44:45 INFO livekit.agents process initialized {"pid": 1426310, "inference": true, "elapsed_time": 2.59} INFO livekit.agents initializing process {"pid": 1427126} INFO livekit.agents initializing process {"pid": 1427128} INFO livekit.agents initializing process {"pid": 1427130} INFO livekit.agents initializing process {"pid": 1427132} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1427128} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1427132} process... INFO agent Prewarming agent {"pid": 1427126} process... INFO agent Prewarming agent {"pid": 1427130} process... INFO livekit.agents process initialized {"pid": 1427128, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1427128} loaded DEBUG asyncio Using selector: {"pid": 1427128} EpollSelector INFO livekit.agents process initialized {"pid": 1427132, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 1427132} loaded DEBUG asyncio Using selector: {"pid": 1427132} EpollSelector INFO agent Prewarm complete - VAD {"pid": 1427126} loaded INFO agent Prewarm complete - VAD {"pid": 1427130} loaded DEBUG asyncio Using selector: {"pid": 1427126} EpollSelector DEBUG asyncio Using selector: {"pid": 1427130} EpollSelector INFO livekit.agents initializing process {"pid": 1427310} INFO livekit.agents process initialized {"pid": 1427130, "elapsed_time": 0.28} INFO livekit.agents process initialized {"pid": 1427126, "elapsed_time": 0.29} INFO livekit.agents initializing process {"pid": 1427356} INFO livekit.agents initializing process {"pid": 1427358} INFO livekit.agents initializing process {"pid": 1427484} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1427310} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1427356} process... INFO agent Prewarming agent {"pid": 1427358} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO livekit.agents process initialized {"pid": 1427310, "elapsed_time": 0.24} INFO agent Prewarm complete - VAD {"pid": 1427310} loaded INFO agent Prewarming agent {"pid": 1427484} process... DEBUG asyncio Using selector: {"pid": 1427310} EpollSelector INFO livekit.agents initializing process {"pid": 1427539} INFO livekit.agents process initialized {"pid": 1427356, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 1427356} loaded INFO agent Prewarm complete - VAD {"pid": 1427358} loaded DEBUG asyncio Using selector: {"pid": 1427356} EpollSelector DEBUG asyncio Using selector: {"pid": 1427358} EpollSelector INFO livekit.agents process initialized {"pid": 1427358, "elapsed_time": 0.27} INFO livekit.agents initializing process {"pid": 1427583} INFO agent Prewarm complete - VAD {"pid": 1427484} loaded INFO livekit.agents process initialized {"pid": 1427484, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 1427484} EpollSelector ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 15:44:46 INFO agent Prewarming agent {"pid": 1427539} process... ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 1427583} process... INFO livekit.agents process initialized {"pid": 1427539, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 1427539} loaded DEBUG asyncio Using selector: {"pid": 1427539} EpollSelector INFO livekit.agents process initialized {"pid": 1427583, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 1427583} loaded DEBUG asyncio Using selector: {"pid": 1427583} EpollSelector INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_ykujMVNzaDgv", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 21:46:09 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:46:13 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_SC5vqsPoRBJC", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 11:42:44 INFO livekit.agents shutting down worker {"id": "AW_SC5vqsPoRBJC"} INFO livekit.agents process exiting {"reason": "", "pid": 1426310, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 11:42:46 DEBUG asyncio Using selector: EpollSelector INFO livekit.agents starting worker {"version": "1.3.3", "rtc-version": "1.0.19"} INFO livekit.agents preloading plugins {"packages": ["livekit.plugins.carte… "livekit.plugins.silero… "livekit.plugins.eleven… "livekit.plugins.turn_d… "av"]} INFO livekit.agents starting inference executor INFO livekit.agents initializing process {"pid": 430402, "inference": true} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 11:42:49 INFO livekit.agents process initialized {"pid": 430402, "inference": true, "elapsed_time": 2.53} INFO livekit.agents initializing process {"pid": 431328} INFO livekit.agents initializing process {"pid": 431330} INFO livekit.agents initializing process {"pid": 431332} INFO livekit.agents initializing process {"pid": 431334} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 431332} INFO agent Prewarming agent process... {"pid": 431330} INFO agent Prewarming agent process... {"pid": 431328} INFO agent Prewarming agent process... {"pid": 431334} INFO agent Prewarm complete - VAD {"pid": 431332} loaded INFO agent Prewarm complete - VAD {"pid": 431330} loaded DEBUG asyncio Using selector: {"pid": 431332} EpollSelector INFO livekit.agents process initialized {"pid": 431332, "elapsed_time": 0.26} INFO agent Prewarm complete - VAD {"pid": 431334} loaded DEBUG asyncio Using selector: {"pid": 431330} EpollSelector INFO agent Prewarm complete - VAD {"pid": 431328} loaded DEBUG asyncio Using selector: {"pid": 431334} EpollSelector INFO livekit.agents process initialized {"pid": 431330, "elapsed_time": 0.28} DEBUG asyncio Using selector: {"pid": 431328} EpollSelector INFO livekit.agents process initialized {"pid": 431334, "elapsed_time": 0.29} INFO livekit.agents process initialized {"pid": 431328, "elapsed_time": 0.3} INFO livekit.agents initializing process {"pid": 431513} INFO livekit.agents initializing process {"pid": 431518} INFO livekit.agents initializing process {"pid": 431520} INFO livekit.agents initializing process {"pid": 431645} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ 11:42:50 INFO agent Prewarming agent process... {"pid": 431513} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 431518} INFO agent Prewarming agent process... {"pid": 431520} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 431645} INFO livekit.agents process initialized {"pid": 431513, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 431513} loaded INFO agent Prewarm complete - VAD {"pid": 431518} loaded DEBUG asyncio Using selector: {"pid": 431513} EpollSelector DEBUG asyncio Using selector: {"pid": 431518} EpollSelector INFO agent Prewarm complete - VAD {"pid": 431520} loaded DEBUG asyncio Using selector: {"pid": 431520} EpollSelector INFO livekit.agents process initialized {"pid": 431518, "elapsed_time": 0.27} INFO livekit.agents process initialized {"pid": 431520, "elapsed_time": 0.28} INFO livekit.agents initializing process {"pid": 431700} INFO livekit.agents initializing process {"pid": 431702} INFO agent Prewarm complete - VAD {"pid": 431645} loaded INFO livekit.agents process initialized {"pid": 431645, "elapsed_time": 0.26} DEBUG asyncio Using selector: {"pid": 431645} EpollSelector ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent process... {"pid": 431700} INFO agent Prewarming agent process... {"pid": 431702} INFO livekit.agents process initialized {"pid": 431700, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 431700} loaded INFO agent Prewarm complete - VAD {"pid": 431702} loaded DEBUG asyncio Using selector: {"pid": 431700} EpollSelector DEBUG asyncio Using selector: {"pid": 431702} EpollSelector INFO livekit.agents process initialized {"pid": 431702, "elapsed_time": 0.28} INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_VhSdoQnrnWfH", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 22:12:54 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 22:12:59 WARNI… livekit.agents failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://voice-6whiebj4.livekit.cloud/a gent' 22:13:01 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_hpAgLnDNCFHJ", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 00:36:51 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_4oC36XJri5Pd", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 00:43:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 00:43:25 WARNI… livekit.agents failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 935, in _connection_task ws = await self._http_session.ws_connect( File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/aiohttp/client.py", line 1093, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandsha keError: 401, message='Invalid response status', url='wss://voice-6whiebj4.livekit.cloud/a gent' 00:43:28 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_S9VQYwexHezX", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 22:36:57 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_rbKeUhQSEHoM", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 17:51:31 INFO livekit.agents received job request {"job_id": "AJ_rvX4foVuzUXF", "dispatch_id": "AD_xWHwsYQnrUxR", "room": "room-dc12cfc1abfa", "room_id": "RM_FKNJebr2zKMD", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_FKNJebr2zKMD", "room": "room-dc12cfc1abfa", "job_id": "AJ_rvX4foVuzUXF", "dispatch_id": "AD_xWHwsYQnrUxR", "enable_recording": false} 17:51:32 INFO agent Job received: {"pid": 431332, room=room-dc12cfc1ab "job_id": fa, "AJ_rvX4foVuzUXF", job_id=AJ_rvX4foVuzU "room_id": XF "RM_FKNJebr2zKMD"} INFO livekit.agents initializing process {"pid": 2301652} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 2301652} process... INFO livekit.agents process initialized {"pid": 2301652, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 2301652} loaded DEBUG asyncio Using selector: {"pid": 2301652} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 515 "room-dc12cfc1abfa", ms (total since job: "pid": 431332, 515 ms) "job_id": "AJ_rvX4foVuzUXF", "room_id": "RM_FKNJebr2zKMD"} INFO agent Providers: {"room": STT=ELEVENLABS, "room-dc12cfc1abfa", TTS=ELEVENLABS (from "pid": 431332, agent_stt_provider / "job_id": agent_tts_provider) "AJ_rvX4foVuzUXF", "room_id": "RM_FKNJebr2zKMD"} INFO agent STT: ElevenLabs {"room": language=en "room-dc12cfc1abfa", "pid": 431332, "job_id": "AJ_rvX4foVuzUXF", "room_id": "RM_FKNJebr2zKMD"} INFO agent TTS: ElevenLabs {"room": model=eleven_turbo_v "room-dc12cfc1abfa", 2_5 "pid": 431332, voice=EXAVITQu4vr4xn "job_id": SDxMaL "AJ_rvX4foVuzUXF", "room_id": "RM_FKNJebr2zKMD"} INFO agent [LATENCY] Startup: {"room": pipeline setup "room-dc12cfc1abfa", (metadata + STT + TTS "pid": 431332, + LLM + "job_id": AgentSession): 709 ms "AJ_rvX4foVuzUXF", "room_id": "RM_FKNJebr2zKMD"} ERROR agent Failed to start voice {"room": session (check API "room-dc12cfc1abfa", keys: "pid": 431332, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_rvX4foVuzUXF", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_FKNJebr2zKMD"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "room-dc12cfc1abfa", task "pid": 431332, Traceback (most "job_id": recent call last): "AJ_rvX4foVuzUXF", File "room_id": "/var/www/html/liveki "RM_FKNJebr2zKMD"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 17:52:28 INFO livekit.agents received job request {"job_id": "AJ_giMsR2Rfuu7m", "dispatch_id": "AD_aZDjeWNq2Tpp", "room": "room-336bbf92fb60", "room_id": "RM_jTxx2eL7u69s", "agent_name": "default", "resuming": false, "enable_recording": false} DEBUG livekit.agents received assignment {"agent_name": "default", "room_id": "RM_jTxx2eL7u69s", "room": "room-336bbf92fb60", "job_id": "AJ_giMsR2Rfuu7m", "dispatch_id": "AD_aZDjeWNq2Tpp", "enable_recording": false} INFO agent Job received: {"pid": 431330, room=room-336bbf92fb "job_id": 60, "AJ_giMsR2Rfuu7m", job_id=AJ_giMsR2Rfuu "room_id": 7m "RM_jTxx2eL7u69s"} INFO livekit.agents initializing process {"pid": 2302401} ============================================================ Initializing ConversationLogger... ConversationLogger initialized. Logs directory: /var/www/html/livekit_frontend/BackEnd/agent-starter-python/logs Directory exists: True Directory writable: True ConversationLogger ready ============================================================ INFO agent Prewarming agent {"pid": 2302401} process... INFO livekit.agents process initialized {"pid": 2302401, "elapsed_time": 0.25} INFO agent Prewarm complete - VAD {"pid": 2302401} loaded DEBUG asyncio Using selector: {"pid": 2302401} EpollSelector INFO agent [LATENCY] Startup: {"room": ctx.connect(): 323 "room-336bbf92fb60", ms (total since job: "pid": 431330, 323 ms) "job_id": "AJ_giMsR2Rfuu7m", "room_id": "RM_jTxx2eL7u69s"} INFO agent Providers: {"room": STT=ELEVENLABS, "room-336bbf92fb60", TTS=ELEVENLABS (from "pid": 431330, agent_stt_provider / "job_id": agent_tts_provider) "AJ_giMsR2Rfuu7m", "room_id": "RM_jTxx2eL7u69s"} INFO agent STT: ElevenLabs {"room": language=en "room-336bbf92fb60", "pid": 431330, "job_id": "AJ_giMsR2Rfuu7m", "room_id": "RM_jTxx2eL7u69s"} INFO agent TTS: ElevenLabs {"room": model=eleven_turbo_v "room-336bbf92fb60", 2_5 "pid": 431330, voice=EXAVITQu4vr4xn "job_id": SDxMaL "AJ_giMsR2Rfuu7m", "room_id": "RM_jTxx2eL7u69s"} INFO agent [LATENCY] Startup: {"room": pipeline setup "room-336bbf92fb60", (metadata + STT + TTS "pid": 431330, + LLM + "job_id": AgentSession): 497 ms "AJ_giMsR2Rfuu7m", "room_id": "RM_jTxx2eL7u69s"} ERROR agent Failed to start voice {"room": session (check API "room-336bbf92fb60", keys: "pid": 431330, ELEVENLABS/CARTESIA "job_id": per provider, "AJ_giMsR2Rfuu7m", OPENAI_API_KEY / "room_id": LiveKit Inference): "RM_jTxx2eL7u69s"} RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' Traceback (most recent call last): File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' ERROR livekit.agents unhandled exception {"room": while running the job "room-336bbf92fb60", task "pid": 431330, Traceback (most "job_id": recent call last): "AJ_giMsR2Rfuu7m", File "room_id": "/var/www/html/liveki "RM_jTxx2eL7u69s"} t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/opentelem etry/util/_decorator. py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/.v env/lib/python3.10/si te-packages/livekit/a gents/ipc/job_proc_la zy_main.py", line 275, in _traceable_entrypoint await self._job_entrypoint_ fnc(job_ctx) File "/var/www/html/liveki t_frontend/BackEnd/ag ent-starter-python/sr c/agent.py", line 403, in my_agent room_options=room _io.RoomOptions( TypeError: RoomOptions.__init__( ) got an unexpected keyword argument 'room_output' 17:56:34 DEBUG livekit.agents shutting down job {"room": task "room-dc12cfc1abfa", "reason": "room disconnected", "user_initiated": false, "pid": 431332, "job_id": "AJ_rvX4foVuzUXF", "room_id": "RM_FKNJebr2zKMD"} DEBUG livekit.agents http_session(): {"room": closing the "room-dc12cfc1abfa", httpclient ctx "pid": 431332, "job_id": "AJ_rvX4foVuzUXF", "room_id": "RM_FKNJebr2zKMD"} DEBUG livekit.agents http_session(): {"room": creating a new "room-dc12cfc1abfa", httpclient ctx "pid": 431332, "job_id": "AJ_rvX4foVuzUXF", "room_id": "RM_FKNJebr2zKMD"} 17:57:29 INFO livekit.agents process exiting {"reason": "", "pid": 431330, "job_id": "AJ_giMsR2Rfuu7m", "room_id": "RM_jTxx2eL7u69s"} DEBUG livekit.agents shutting down job {"room": task "room-336bbf92fb60", "reason": "", "user_initiated": false, "pid": 431330, "job_id": "AJ_giMsR2Rfuu7m", "room_id": "RM_jTxx2eL7u69s"} DEBUG livekit.agents http_session(): {"room": closing the "room-336bbf92fb60", httpclient ctx "pid": 431330, "job_id": "AJ_giMsR2Rfuu7m", "room_id": "RM_jTxx2eL7u69s"} DEBUG livekit.agents http_session(): {"room": creating a new "room-336bbf92fb60", httpclient ctx "pid": 431330, "job_id": "AJ_giMsR2Rfuu7m", "room_id": "RM_jTxx2eL7u69s"} 00:57:51 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 00:57:54 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_rdhTBchZs29A", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 14:36:51 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_otwNp3Vtiv8A", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 23:58:36 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:58:40 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_h6YKutDTeZHR", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 02:53:16 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 02:53:20 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_Rw7cf2qcjzXy", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 08:02:54 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_5azSHcsRZM7e", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 11:25:30 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 11:25:31 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_7r59i4mGnmo3", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 21:47:34 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:47:35 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_g7DJ2J6SfGu3", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 05:18:59 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_UC7GuCaybzYD", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 23:01:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:01:26 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_6gh8VfyUYuqU", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 03:49:11 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 03:49:12 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_DGgxDhKuZQwJ", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 23:07:38 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 23:07:39 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_G5BePrqAYwYK", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 22:08:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 22:08:22 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_V4HWJhijQ4nz", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 05:25:04 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 05:25:05 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_bWrBMMyymTuw", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 00:47:24 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 00:47:25 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_ngtFcPUah7QG", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 04:20:58 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_8vHJC9EyDujB", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 23:39:46 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_W7jy4YVwXxKP", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 03:30:59 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_3D8Vk6QskAwm", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 18:50:46 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_JqopQH8hvCEs", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 00:30:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_esgvc7RNERRw", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 04:03:13 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_KExUtKiA6qgM", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 23:04:45 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_f7uQMRMmT9Jc", "url": "wss://voice-6whiebj4.li… "region": "India South", "protocol": 17} 16:10:41 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 16:10:43 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_iCARLAJVV6RY", "url": "wss://voice-6whiebj4.li… "region": "India West", "protocol": 17} 20:32:11 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_hDyLAswzoX9G", "url": "wss://voice-6whiebj4.li… "region": "India West", "protocol": 17} 04:58:20 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_KreAzSdKJeqD", "url": "wss://voice-6whiebj4.li… "region": "India West", "protocol": 17} 12:33:07 WARNI… livekit.agents unexpected message type: WSMsgType.ERROR WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 12:33:08 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_8ugk9ngeXtrb", "url": "wss://voice-6whiebj4.li… "region": "India West", "protocol": 17} 21:24:57 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 21:24:58 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_d3TpPyeddVmo", "url": "wss://voice-6whiebj4.li… "region": "India West", "protocol": 17} 05:50:10 WARNI… livekit.agents failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 975, in _connection_task await self._run_ws(ws) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1056, in _run_ws await asyncio.gather(*tasks) File "/var/www/html/livekit_frontend/BackEnd/a gent-starter-python/.venv/lib/python3.10/ site-packages/livekit/agents/worker.py", line 1028, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 05:50:11 INFO livekit.agents registered worker {"agent_name": "default", "id": "AW_PaUjZHTXNCmg", "url": "wss://voice-6whiebj4.li… "region": "India West", "protocol": 17}