ripe-arm-36009
09/08/2025, 6:52 AMtall-airline-16756
09/08/2025, 6:52 AMtall-airline-16756
09/08/2025, 6:52 AMlanguages parameter when you’re setting up the Google STT instance. For example, Sinhala is totally supported—just use languages="si-LK" to get Sinhala transcription going. Easy, right?
Sources: Google Cloud STT integration guide | LiveKit Docs | livekit-plugins/livekit-plugins-gladia/livekit/plugins/gladia/stt.pyripe-arm-36009
09/08/2025, 6:54 AMerror_details_ext extension for details.\"\n\tdebug_error_string = \"UNKNOWN:Error received from peer ipv474.125.24.95443 {grpc_message:\"Config contains unsupported fields. See error_details_ext extension for details.\", grpc_status:3}\"\n>\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\ASUS TUF\\Desktop\\works\\123 livekit\\.venv\\Lib\\site-packages\\livekit\\plugins\\google\\stt.py\", line 518, in _run\n task.result()\n File \"C:\\Users\\ASUS TUF\\Desktop\\works\\123 livekit\\.venv\\Lib\\site-packages\\livekit\\plugins\\google\\stt.py\", line 419, in process_stream\n async for resp in stream:\n File \"C:\\Users\\ASUS TUF\\Desktop\\works\\123 livekit\\.venv\\Lib\\site-packages\\google\\api_core\\grpc_helpers_async.py\", line 109, in _wrapped_aiter\n raise exceptions.from_grpc_error(rpc_error) from rpc_error\ngoogle.api_core.exceptions.InvalidArgument: 400 Config contains unsupported fields. See error_details_ext extension for details. [field_violations {\n field: \"config.features.enable_automatic_punctuation\"\n description: \"Recognizer does not support feature: automatic_punctuation\"\n}\n]\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\ASUS TUF\\Desktop\\works\\123 livekit\\.venv\\Lib\\site-packages\\livekit\\agents\\stt\\stt.py\", line 251, in _main_task\n return await self._run()\n ^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\ASUS TUF\\Desktop\\works\\123 livekit\\.venv\\Lib\\site-packages\\livekit\\plugins\\google\\stt.py\", line 539, in _run\n raise APIStatusError(\nlivekit.agents._exceptions.APIStatusError: Config contains unsupported fields. See error_details_ext extension for details. [field_violations {\n field: \"config.features.enable_automatic_punctuation\"\n description: \"Recognizer does not support feature: automatic_punctuation\"\n}\n] (status_code=400, request_id=None, body=None, retryable=False)", "tts": "livekit.plugins.google.stt.STT", "attempt": 2, "streamed": true, "timestamp": "2025-09-08T065324.668393+00:00"}
[2025-09-08 122325,236] INFO livekit.agents: closing agent session due to participant disconnect (disable via RoomInputOptions.close_on_disconnect=False)
{"message": "closing agent session due to participant disconnect (disable via RoomInputOptions.close_on_disconnect=False)", "level": "INFO", "name": "livekit.agents", "participant": "voice_assistant_user_8660", "reason": "CLIENT_INITIATED", "timestamp": "2025-09-08T065325.236979+00:00"}tall-airline-16756
09/08/2025, 6:54 AMenable_automatic_punctuation. This feature isn’t available for the language or model you’ve chosen.
No worries though! To fix this, just double-check your setup and remove or turn off enable_automatic_punctuation, then give it another try.
If you run into any more issues or want a hand with this, just let me know—I’m here to help!ripe-arm-36009
09/08/2025, 6:55 AMtall-airline-16756
09/08/2025, 6:55 AMripe-arm-36009
09/08/2025, 6:56 AMtall-airline-16756
09/08/2025, 6:57 AMlanguages attribute in Google STT does support si-LK (Sinhala) in LiveKit, and it’s properly sent over to the Google Cloud Speech-to-Text API. But if it’s not working on your end, it could be because of a few things:
• Google Cloud STT API Support: The model you’re using might not support Sinhala (si-LK). It’s worth double-checking the Google Cloud Speech-to-Text docs to be sure.
• Incorrect Configuration: Make sure your Google Cloud project has the Speech-to-Text API enabled, and that your credentials are valid with the right permissions.
• Audio Format Issues: Also, check that your audio format (like sample rate and encoding) works well with the Google Cloud STT service.
If you want, I’m here to help you troubleshoot any of these—just let me know!
Sources: livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt.py | Google integration guide | LiveKit Docsripe-arm-36009
09/08/2025, 6:59 AMtall-airline-16756
09/08/2025, 7:00 AM