diff --git a/src/lib/components/chat/MessageInput/CallOverlay.svelte b/src/lib/components/chat/MessageInput/CallOverlay.svelte index b5c8ea1df..6f3b465a6 100644 --- a/src/lib/components/chat/MessageInput/CallOverlay.svelte +++ b/src/lib/components/chat/MessageInput/CallOverlay.svelte @@ -456,7 +456,9 @@ if ($config.audio.tts.engine !== '') { const res = await synthesizeOpenAISpeech( localStorage.token, - $settings?.audio?.tts?.voice ?? $config?.audio?.tts?.voice, + $settings?.audio?.tts?.defaultVoice === $config.audio.tts.voice + ? ($settings?.audio?.tts?.voice ?? $config?.audio?.tts?.voice) + : $config?.audio?.tts?.voice, content ).catch((error) => { console.error(error);