magnificent-furniture-73003
12/26/2025, 11:41 AM{
"message": "Error in _tts_inference_task\nTraceback (most recent call last):\n File \"/app/.venv/lib/python3.11/site-packages/livekit/agents/tts/tts.py\", line 556, in __anext__\n val = await self._event_aiter.__anext__()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nStopAsyncIteration\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/app/.venv/lib/python3.11/site-packages/livekit/agents/utils/log.py\", line 16, in async_fn_logs\n return await fn(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.11/site-packages/opentelemetry/util/_decorator.py\", line 71, in async_wrapper\n return await func(*args, **kwargs) # type: ignore\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.11/site-packages/livekit/agents/voice/generation.py\", line 222, in _tts_inference_task\n async for audio_frame in tts_node:\n File \"/app/.venv/lib/python3.11/site-packages/livekit/agents/voice/agent.py\", line 432, in tts_node\n async for ev in stream:\n File \"/app/.venv/lib/python3.11/site-packages/livekit/agents/tts/tts.py\", line 559, in __anext__\n raise exc # noqa: B904\n ^^^^^^^^^\n File \"/app/.venv/lib/python3.11/site-packages/opentelemetry/util/_decorator.py\", line 71, in async_wrapper\n return await func(*args, **kwargs) # type: ignore\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.11/site-packages/livekit/agents/tts/tts.py\", line 394, in _main_task\n raise APIError(f\"no audio frames were pushed for text: {self._pushed_text}\")\nlivekit.agents._exceptions.APIError: no audio frames were pushed for text: Good afternoon, am I speaking with Mister वरुण? (body=None, retryable=True)",
"level": "ERROR",
"name": "livekit.agents",
"room": "outbound_+918296539782_1766749018",
"pid": 426,
"job_id": "AJ_RkbooyKWLFU6",
"timestamp": "2025-12-26T11:37:09.283287+00:00"
}tall-airline-16756
12/26/2025, 11:41 AMtall-airline-16756
12/26/2025, 11:42 AMhi or the provider-specific language tag.
1. Transliterate or normalize non-Latin text before sending to TTS
◦ Convert "वरुण" → "Varun" (or use a transliteration library) and re-run.
1. Add input validation/logging
◦ Log the exact text that goes to the TTS provider and detect non-Latin scripts so you can apply transliteration or fallback.
1. Add a graceful fallback in your TTS node
◦ Catch the "no audio frames were pushed" error and either play a default greeting, silence, or retry with transliterated text.
Questions to narrow it down
• Which TTS provider/plugin are you using (OpenAI, ElevenLabs, etc.)?
• Are you explicitly setting a language/voice in the TTS call? If so, what values?
• Does plain English input always succeed for this agent?
If you tell me the provider and your TTS call snippet (the settings you pass), I’ll give exact config and code examples for transliteration/fallback handling.
Sources: examples/voice_agents | livekit/livekit_composite | DeepWiki | OpenAI TTS plugin guide | LiveKit docs | Pipeline nodes and hooks | LiveKit docs | ElevenLabs TTS plugin guide | LiveKit docs