openai realtime api is able to speek more than 100...
# ask-ai
d
openai realtime api is able to speek more than 100 language, does livekit agent support all those languages?
t
Thanks for reaching out, Ibragim. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
LiveKit supports more than 100 languages for certain functionalities, but the level of language support depends on the specific component or integration being used: • Speech-to-text via Gladia: Supports 100+ languages. • Turn detection model: Supports 13 languages (Chinese, Dutch, English, French, German, Indonesian, Italian, Japanese, Korean, Portuguese, Russian, Spanish, and Turkish). • Multilingual agents: Can handle the 13 languages supported by the turn detection model. If you are using the Gladia plugin integration, you will have access to approximately 115+ languages. For other components, the language support may be more limited. Sources: livekit-plugins/livekit-plugins-gladia/livekit/plugins/gladia/models.py | Building the all-in-one platform for voice AI agents | complex-agents/turn-taking/README.md
d
WbLrcgVwQ"} 2025-07-30 222318,277 - WARNING livekit.agents - failed to recognize speech, retrying in 2.0s Traceback (most recent call last): File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/plugins/gladia/stt.py", line 853, in _init_live_session res.raise_for_status() ~~~~~~~~~~~~~~~~~~~~^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status raise ClientResponseError( ...<5 lines>... ) aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url='https://api.gladia.io/v2/live' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/agents/stt/stt.py", line 251, in _main_task return await self._run() ^^^^^^^^^^^^^^^^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/plugins/gladia/stt.py", line 795, in _run session_info = await self._init_live_session() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/plugins/gladia/stt.py", line 857, in _init_live_session raise APIConnectionError(f"Failed to initialize Gladia session: {str(e)}") from e livekit.agents._exceptions.APIConnectionError: Failed to initialize Gladia session: 400, message='Bad Request', url='https://api.gladia.io/v2/live' (body=None, retryable=True) {"tts": "livekit.plugins.gladia.stt.STT", "attempt": 2, "streamed": true, "pid": 43736, "job_id": "AJ_e6sWbLrcgVwQ"} [DEBUG] Participant disconnected: sip_+18148852422, kind: 3 [DEBUG] SIP participant disconnected, setting disconnect event 2025-07-30 222318,887 - DEBUG livekit.agents - stream closed {"participant": "sip_+18148852422", "source": "SOURCE_MICROPHONE", "pid": 43736, "job_id": "AJ_e6sWbLrcgVwQ"} 2025-07-30 222320,503 - ERROR livekit.agents - AgentSession is closing due to unrecoverable error Traceback (most recent call last): File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/plugins/gladia/stt.py", line 853, in _init_live_session res.raise_for_status() ~~~~~~~~~~~~~~~~~~~~^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status raise ClientResponseError( ...<5 lines>... ) aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url='https://api.gladia.io/v2/live' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/agents/stt/stt.py", line 251, in _main_task return await self._run() ^^^^^^^^^^^^^^^^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/plugins/gladia/stt.py", line 795, in _run session_info = await self._init_live_session() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/plugins/gladia/stt.py", line 857, in _init_live_session raise APIConnectionError(f"Failed to initialize Gladia session: {str(e)}") from e livekit.agents._exceptions.APIConnectionError: Failed to initialize Gladia session: 400, message='Bad Request', url='https://api.gladia.io/v2/live' (body=None, retryable=True) {"pid": 43736, "job_id": "AJ_e6sWbLrcgVwQ"} 2025-07-30 222320,505 - ERROR livekit.agents - Error in _stt_task Traceback (most recent call last): File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/plugins/gladia/stt.py", line 853, in _init_live_session res.raise_for_status() ~~~~~~~~~~~~~~~~~~~~^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status raise ClientResponseError( ...<5 lines>... ) aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url='https://api.gladia.io/v2/live' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/agents/stt/stt.py", line 251, in _main_task return await self._run() ^^^^^^^^^^^^^^^^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/plugins/gladia/stt.py", line 795, in _run session_info = await self._init_live_session() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/plugins/gladia/stt.py", line 857, in _init_live_session raise APIConnectionError(f"Failed to initialize Gladia session: {str(e)}") from e livekit.agents._exceptions.APIConnectionError: Failed to initialize Gladia session: 400, message='Bad Request', url='https://api.gladia.io/v2/live' (body=None, retryable=True) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/agents/voice/audio_recognition.py", line 452, in _stt_task async for ev in node: ...<3 lines>... await self._on_stt_event(ev) File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/agents/voice/agent.py", line 352, in stt_node async for event in stream: yield event File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/agents/stt/stt.py", line 370, in anext raise exc # noqa: B904 ^^^^^^^^^ File "/Users/ibrahimebdulezizli/Documents/Development/livekittests/venv/lib/python3.13/site-packages/livekit/agents/stt/stt.py", line 258, in _main_task raise APIConnectionError( f"failed to recognize speech after {self._num_retries} attempts", ) from e livekit.agents._exceptions.APIConnectionError: failed to recognize speech after 3 attempts (body=None, retryable=True) {"pid": 43736, "job_id": "AJ_e6sWbLrcgVwQ"}
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
d
your gladia integration returns : aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url='https://api.gladia.io/v2/live'