From f9f1d9d2adb610c910653dc9b4961a5fc4508bd9 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 9 Feb 2024 17:12:44 -0800 Subject: [PATCH] fix: convo mode --- src/lib/components/chat/Settings/Voice.svelte | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/Settings/Voice.svelte b/src/lib/components/chat/Settings/Voice.svelte index 29b93b3d..0dc7f0c5 100644 --- a/src/lib/components/chat/Settings/Voice.svelte +++ b/src/lib/components/chat/Settings/Voice.svelte @@ -40,7 +40,17 @@ const toggleConversationMode = async () => { conversationMode = !conversationMode; - saveSettings({ conversationMode: conversationMode }); + + if (conversationMode) { + responseAutoPlayback = true; + speechAutoSend = true; + } + + saveSettings({ + conversationMode: conversationMode, + responseAutoPlayback: responseAutoPlayback, + speechAutoSend: speechAutoSend + }); }; const toggleResponseAutoPlayback = async () => {