fix: tts read aloud

Change: const content = removeAllDetails(content); to const content = removeAllDetails(message.content);

Error: Uncaught (in promise) ReferenceError: can't access lexical declaration 'z' before initialization.
ResponseMessage.svelte:215:42
This commit is contained in:
Zyfax 2025-05-27 10:52:26 +02:00 committed by GitHub
parent a2afd6f645
commit 4995bfe571
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -212,7 +212,7 @@
speaking = true; speaking = true;
const content = removeAllDetails(content); const content = removeAllDetails(message.content);
if ($config.audio.tts.engine === '') { if ($config.audio.tts.engine === '') {
let voices = []; let voices = [];