Hey folks!! I am new to livekit and first time on this slack. I was trying to build an agent which essentially does stt->llm->tts and hooking it up with a react client. I was able to get it to work. Now I am trying to use the send_text function in participant.py to send a text to the client via
await ctx.room.local_participant.send_text(
text="Hiiiiii",
topic="assistant")
However the client doesn't seem to be receiving it. To make sure its not an issue with the client I tried the following and the client is getting the info:
lk room send-data --topic assistant --room voice_assistant_room_9144 Hello1 --url <
wss://test-699oji7c.livekit.cloud|<>url>
Is there anything wrong in how I am using the api on server to send text? Been stuck on this for a couple of days. Appreciate any hints to unblock here