Azure TTS SSML Character Escaping Issue After Upgrading to livekit-agents 1.1.5
➕ 1
t
tall-airline-16756
07/05/2025, 12:37 AM
Thanks for reaching out, 郭朋. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
tall-airline-16756
07/05/2025, 12:37 AM
Could you provide more details about the SSML character escaping issue you're encountering after upgrading to livekit-agents 1.1.5? For example, are there specific characters or scenarios where the issue occurs, or any error messages you are seeing?
b
broad-army-81746
07/05/2025, 12:38 AM
livekit.agents._exceptions.APIStatusError: Invalid char '&' at position 240 found in SSML. Please escape it before use. (status_code=400, request_id=None, body=None, retryable=False)
t
tall-airline-16756
07/05/2025, 12:38 AM
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!