Hello everyone! I’m building AI agents with LiveK...
# agents
w
Hello everyone! I’m building AI agents with LiveKit. Everything worked fine until I combined Gemini + Azure Speech TTS. Now I’m getting error:
Copy code
Invalid char '&' found in SSML. Please escape it before use.
Looks like Gemini is returning unescaped characters and Azure TTS expects valid SSML, so it fails. Has anyone run into this? Did you just sanitize/escape the text before sending to Azure, or is there a better way?
l
w
Thank you very much!