Sfoglia il codice sorgente

Merge pull request #714 from ollama-webui/fix-tts

fix: convo mode
Timothy Jaeryang Baek 1 anno fa
parent
commit
a8a0ebf3aa
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      src/lib/components/chat/Messages/ResponseMessage.svelte

+ 4 - 0
src/lib/components/chat/Messages/ResponseMessage.svelte

@@ -129,6 +129,10 @@
 
 				if (Object.keys(sentencesAudio).length - 1 === idx) {
 					speaking = null;
+
+					if ($settings.conversationMode) {
+						document.getElementById('voice-input-button')?.click();
+					}
 				}
 
 				res(e);