Actually, revert the change making it so that STTService takes model and language args at init time. It'll be up to the subclasses to append those to _settings (or better yet, provide their own service-specific _settings). This avoids rocking the boat too too much.

This commit is contained in:
Paul Kompfner
2026-02-20 11:26:28 -05:00
parent f4e9825c03
commit f5b86d9cdc
25 changed files with 19 additions and 47 deletions

View File

@@ -291,7 +291,7 @@ class NewTTSService(TTSService):
voice: Voice identifier to use.
**kwargs: Additional arguments passed to the parent service.
"""
super().__init__(voice=voice, **kwargs)
super().__init__(**kwargs)
self._api_key = api_key
```