magnificent-dusk-62723
08/18/2025, 12:38 PMelevenlabs
LLM: claude-3-5-sonnet-20241022
STT: StreamAdapter -> deepgram -> nova-3-general
Turn Detection: EnglishModel
VAD: Truerefined-appointment-81829
08/18/2025, 1:51 PMmagnificent-dusk-62723
08/18/2025, 2:00 PMenable_ssml_parsing set to true and its in a TTSStreamAdapter which is also in a TTSFallbackAdapter
This just worked and had not cut off in the whole 7 minutes call, there doesnt seem to be a pattern?
return TTSStreamAdapter(
tts=elevenlabs.TTS(
voice_id=voices.provider_id, model=voices.model_name, encoding="mp3_44100_96", enable_ssml_parsing=True
)
)magnificent-dusk-62723
08/18/2025, 2:01 PMmagnificent-dusk-62723
08/18/2025, 2:02 PMmagnificent-dusk-62723
08/18/2025, 2:16 PMfailed to generate LLM completion, retrying in 0.1s
Traceback (most recent call last):
File "/home/appuser/.local/lib/python3.11/site-packages/livekit/plugins/anthropic/llm.py", line 254, in _run
async for event in stream:
File "/home/appuser/.local/lib/python3.11/site-packages/anthropic/_streaming.py", line 185, in __aiter__
async for item in self._iterator:
File "/home/appuser/.local/lib/python3.11/site-packages/anthropic/_streaming.py", line 228, in __stream__
raise self._client._make_status_error(
anthropic.APIStatusError: {'type': 'error', 'error': {'details': None, 'type': 'overloaded_error', 'message': 'Overloaded'}}
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/llm/llm.py", line 177, in _main_task
return await self._run()
^^^^^^^^^^^^^^^^^
File "/home/appuser/.local/lib/python3.11/site-packages/livekit/plugins/anthropic/llm.py", line 280, in _run
raise APIStatusError(
livekit.agents._exceptions.APIStatusError: {'type': 'error', 'error': {'details': None, 'type': 'overloaded_error', 'message': 'Overloaded'}} (status_code=200, request_id=req_011CSFKChkfG9sgnn7PHE7qi, body={'type': 'error', 'error': {'details': None, 'type': 'overloaded_error', 'message': 'Overloaded'}}, retryable=True)
i just got this error message, never seen it before so unsure if this is a different issue as this makes the agent come back after ~10 secondsfew-analyst-46
08/18/2025, 9:00 PMmagnificent-dusk-62723
08/19/2025, 11:15 AMmagnificent-dusk-62723
08/19/2025, 11:56 AMmagnificent-dusk-62723
08/19/2025, 11:56 AMrhythmic-printer-24192
08/19/2025, 2:59 PMmagnificent-dusk-62723
08/19/2025, 3:00 PMfew-analyst-46
08/19/2025, 3:48 PMmagnificent-dusk-62723
08/20/2025, 2:12 PMrefined-appointment-81829
08/20/2025, 2:13 PMpip freeze |grep livekitmagnificent-dusk-62723
08/20/2025, 2:14 PMlivekit==1.0.12
livekit-agents==1.2.5
livekit-api==1.0.5
livekit-blingfire==1.0.0
livekit-plugins-anthropic==1.2.5
livekit-plugins-assemblyai==1.2.5
livekit-plugins-cartesia==1.2.5
livekit-plugins-deepgram==1.2.5
livekit-plugins-elevenlabs==1.2.5
livekit-plugins-google==1.2.5
livekit-plugins-noise-cancellation==0.2.5
livekit-plugins-openai==1.2.5
livekit-plugins-silero==1.2.5
livekit-plugins-turn-detector==1.2.5
livekit-protocol==1.0.5refined-appointment-81829
08/20/2025, 2:14 PMrefined-appointment-81829
08/20/2025, 2:16 PMRM_magnificent-dusk-62723
08/20/2025, 2:16 PMmagnificent-dusk-62723
08/20/2025, 2:19 PMRM_aAWwPciyGQ9Ymagnificent-dusk-62723
08/20/2025, 2:19 PMmagnificent-dusk-62723
08/20/2025, 2:25 PMmagnificent-dusk-62723
08/20/2025, 2:39 PMError predicting end of turn
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 500, in wait_for
return fut.result()
^^^^^^^^^^^^
File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/ipc/job_proc_lazy_main.py", line 101, in do_inference
inf_resp = await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/appuser/.local/lib/python3.11/site-packages/livekit/agents/voice/audio_recognition.py", line 364, in _bounce_eou_task
end_of_turn_probability = await turn_detector.predict_end_of_turn(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/appuser/.local/lib/python3.11/site-packages/livekit/plugins/turn_detector/base.py", line 229, in predict_end_of_turn
result = await asyncio.wait_for(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 502, in wait_for
raise exceptions.TimeoutError() from exc
its really delayed but its not cutting out now also seeing this error and inference is slower than realtime
• TTS openai
• LLM gpt-4o-mini