Hey Team! I am facing some Issue with TTS probabl...
# agents
q
Hey Team! I am facing some Issue with TTS probably the agent is not responding although the text is been created. We are using ElevenLabs and there is no such error in logs as well while connecting. Not sure why this is happening, its a paid plan
Here is the chat context its happening for a lot of our customer that the agent is not responding We are using gemini as LLM. There is no error on livekit and we are not able to debug why this is happening
Copy code
app.liveKit.utils.transcript - INFO - [case_id:2560537e-706f-48f6-82f3-1fe81e338719] 2025-09-17 18:55:20,694 - app.liveKit.utils.transcript - INFO - Chat context dictionary: [{'id': 'item_7dda94a0eb83', 'type': 'message', 'role': 'user', 'content': ["Hey, May. What's up? Can you hear me?"], 'interrupted': False, 'transcript_confidence': 0.99902344, 'created_at': 1758134732.840566}, {'id': 'item_ffffb0e1193e', 'type': 'message', 'role': 'assistant', 'content': ['Umm… yeah, I can hear you, I guess.\n'], 'interrupted': False, 'created_at': 1758134733.189989}, {'id': 'item_e18e32dba762', 'type': 'message', 'role': 'user', 'content': ['How you have been doing lately, buddy? Would you'], 'interrupted': False, 'transcript_confidence': 0.9772949, 'created_at': 1758134753.969521}, {'id': 'item_3f219132c913', 'type': 'message', 'role': 'user', 'content': ['to tell me a little bit about yourself?'], 'interrupted': False, 'transcript_confidence': 1.0, 'created_at': 1758134762.8924234}, {'id': 'item_bb97565d8d82', 'type': 'message', 'role': 'assistant', 'content': ["Uhh, well… honestly, things have been kinda rough lately, you know? I'm Mei… and, uhh… I guess I'm just trying to figure some stuff out, maybe.\n"], 'interrupted': False, 'created_at': 1758134763.593261}, {'id': 'item_e11aaa1b5711', 'type': 'message', 'role': 'user', 'content': ['Was nice talking to you, May. Thanks for connecting.'], 'interrupted': False, 'transcript_confidence': 0.9980469, 'created_at': 1758134848.9482884}, {'id': 'item_470e9c3310cc', 'type': 'message', 'role': 'user', 'content': ['It was nice talking to you, May. Thanks for connecting.'], 'interrupted': False, 'transcript_confidence': 1.0, 'created_at': 1758134856.59616}, {'id': 'item_55396f8c82ba', 'type': 'message', 'role': 'user', 'content': ['Hey, May. Can you hear me?'], 'interrupted': False, 'transcript_confidence': 1.0, 'created_at': 1758134856.6109338}, {'id': 'item_cddbc5608000', 'type': 'message', 'role': 'user', 'content': ['Hey, Mick. Can you hear me how you have been doing lately, buddy?'], 'interrupted': False, 'transcript_confidence': 0.99902344, 'created_at': 1758134908.4262445}, {'id': 'item_8337a3239402', 'type': 'message', 'role': 'user', 'content': ['Hey, May. Can you hear me?'], 'interrupted': False, 'transcript_confidence': 0.99902344, 'created_at': 1758134962.470327}, {'id': 'item_b94e7078b8d4', 'type': 'message', 'role': 'user', 'content': ['If yes, can you respond back?'], 'interrupted': False, 'transcript_confidence': 1.0, 'created_at': 1758134965.8713999}, {'id': 'item_96201a79b427', 'type': 'message', 'role': 'user', 'content': ['Client is not talking back.'], 'interrupted': False, 'transcript_confidence': 0.9707031, 'created_at': 1758135287.4270144}, {'id': 'item_282816ce652d', 'type': 'message', 'role': 'user', 'content': ['May. Can you hear me or not?'], 'interrupted': False, 'transcript_confidence': 0.99316406, 'created_at': 1758135287.7190182}, {'id': 'item_883b7302c938', 'type': 'message', 'role': 'user', 'content': ['Amy, can you hear me? Hey, Mi. Can you hear me? Oh, I can see'], 'interrupted': False, 'transcript_confidence': 0.99934896, 'created_at': 1758135299.1216807}, {'id': 'item_bc7259052270', 'type': 'message', 'role': 'user', 'content': ['console is running. Fuck, man. I cannot see any errors.'], 'interrupted': False, 'transcript_confidence': 0.99902344, 'created_at': 1758135301.73286}, {'id': 'item_55d9c69549a8', 'type': 'message', 'role': 'user', 'content': ['This is a issue.'], 'interrupted': False, 'transcript_confidence': 1.0, 'created_at': 1758135305.722114}]
@refined-appointment-81829
r
I would say test with basic_agent.py and see if you can reproduce it there. Also maybe see if you have the same issue if hosting the agent in LiveKit cloud
p
It happens 1 out of 10 case on eleven labs as TTS. Could it be because of rate limiting? But in scenarios like this I don’t see any error the only thing I notice is agent would not reply.