feat: configurable ElevenLabs base URL for Data Residency (#278)

* feat: configurable ElevenLabs base URL for Data Residency (#269)

Adds a `base_url` field to `ElevenlabsTTSConfiguration` so users on an
ElevenLabs Data Residency plan (EU, etc.) can point Dograh at the
regional endpoint instead of the hardcoded global one. Defaults to
`https://api.elevenlabs.io`, preserving existing behaviour. The
service factory rewrites the HTTP scheme to WSS when constructing the
WebSocket TTS service.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix: fix drift

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Abhishek 2026-05-12 19:01:13 +05:30 committed by GitHub
parent f2cb6499e1
commit 7f0dac1ad5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: dograh-openapi-XXXXXX.json.OGVaBJhIgZ
# timestamp: 2026-05-11T11:41:34+00:00
# filename: dograh-openapi-XXXXXX.json.Zvc0Wos2dk
# timestamp: 2026-05-12T13:08:52+00:00
from __future__ import annotations