elevenlabs-python
elevenlabs-python copied to clipboard
WebSocket endpoint does not work for ElevenLabsEnvironment.PRODUCTION_EU
Hello,
I was following this tutorial: https://elevenlabs.io/docs/websockets
and used the API endpoints according to this file: https://github.com/elevenlabs/elevenlabs-python/blob/1c8c31922cb76f5c6329657ed40f3959c4a64cba/src/elevenlabs/environment.py#L24
but that did not work. Changing the WSS endpoint to the appropriate residency fixes the issue:
uri = f"wss://api.eu.residency.elevenlabs.io/...."
It seems to me that the wss values for EU, US, and India should be updated.
Have a nice day, Martin
hi, this should be more explicitly resolved by #629