diff --git a/integrations/openwebui/README.md b/integrations/openwebui/README.md index 762315a..21ddc73 100644 --- a/integrations/openwebui/README.md +++ b/integrations/openwebui/README.md @@ -97,6 +97,18 @@ Die Profile werden vor der Änderung über ihre jeweiligen Modelllisten geprüft - TTS: `qwen-tts`, Stimme `Ryan`, `response_format=wav` an `/v1/audio/speech`. - Satzweise Wiedergabe: `SPLIT_ON=punctuation`. +Die OpenAI-Parameter setzen auch `voice=Ryan`, damit eine vom Browser gesendete +OpenAI-Standardstimme (etwa `alloy`) die Qwen-Stimme nicht überschreibt. +OpenWebUI fragt `/audio/voices` ohne Bearer-Token ab und fällt bei Fehlern auf +OpenAI-Stimmen zurück; Deck bietet derzeit keine entsprechende Stimmenliste. +Damit ist die Ausgabe hier bewusst auf Ryan festgelegt. + +TTS ist noch nicht für parallelen Betrieb mit einem LLM auf der RTX 3060 geprüft: +Der bestehende Worker verlangt eine unbenutzte Karte mit mehr als 7000 MiB frei. +Am 2026-10-05 blockierte ein laufender llama-server (5966 MiB auf der 3060) +den echten TTS-Test. Die Stimmenkonfiguration ist gespeichert, die Ausgabe +bleibt bei dieser Belegung bis zur Lösung der Ressourcenfrage blockiert. + Andere Audioeinstellungen bleiben erhalten. Die Installation prüft anschließend die gespeicherten Einstellungen; sie führt keinen GPU-Auftrag und keinen echten Mikrofontest durch. Kein Containerneustart erforderlich. Browser neu laden. diff --git a/integrations/openwebui/install_speech.py b/integrations/openwebui/install_speech.py index a13c9d4..b813765 100644 --- a/integrations/openwebui/install_speech.py +++ b/integrations/openwebui/install_speech.py @@ -39,7 +39,7 @@ async def main(): config['tts'].update(ENGINE='openai', OPENAI_API_BASE_URL=url.rstrip('/'), OPENAI_API_KEY=key, MODEL='qwen-tts', VOICE='Ryan', SPLIT_ON='punctuation') config['tts']['OPENAI_PARAMS'] = {**(config['tts'].get('OPENAI_PARAMS') or {}), - 'response_format': 'wav'} + 'response_format': 'wav', 'voice': 'Ryan'} config['stt'].update(ENGINE='openai', OPENAI_API_BASE_URL=url.rstrip('/'), OPENAI_API_KEY=key, MODEL='qwen3-asr-stt', OPENAI_API_REQUEST_FORMAT='multipart') async with session.post(base + '/config/update', headers=headers, json=config) as response: @@ -52,6 +52,7 @@ async def main(): for field in ('ENGINE', 'MODEL', 'OPENAI_API_BASE_URL', 'OPENAI_API_KEY'): assert saved[section][field] == config[section][field] assert saved['tts']['OPENAI_PARAMS']['response_format'] == 'wav' + assert saved['tts']['OPENAI_PARAMS']['voice'] == 'Ryan' assert saved['tts']['VOICE'] == 'Ryan' assert saved['tts']['SPLIT_ON'] == 'punctuation' print(json.dumps({'tts': saved['tts']['MODEL'], 'stt': saved['stt']['MODEL'],