diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index eb162d5a2..91e46f4ad 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -751,7 +751,7 @@ copyToClipboard(responseMessage.content); } - if ($settings.responseAutoPlayback) { + if ($settings.responseAutoPlayback && !$showCallOverlay) { await tick(); document.getElementById(`speak-button-${responseMessage.id}`)?.click(); } @@ -977,8 +977,9 @@ copyToClipboard(responseMessage.content); } - if ($settings.responseAutoPlayback) { + if ($settings.responseAutoPlayback && !$showCallOverlay) { await tick(); + document.getElementById(`speak-button-${responseMessage.id}`)?.click(); }