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:
1 parent
a2afd6f645
commit
4995bfe571
1 file changed
+1
-1
@@ -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 = [];
|
||||||
|
|||||||
Reference in new issue
Block a user