diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 9d28df0c1..0a646f570 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -167,6 +167,14 @@ message.content += data.content; } else if (type === 'replace') { message.content = data.content; + } else if (type === 'action') { + if (data.action === 'continue') { + const continueButton = document.getElementById('continue-response-button'); + + if (continueButton) { + continueButton.click(); + } + } } else if (type === 'confirmation') { eventCallback = cb; diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 8e31a17c8..c95d0afc5 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -915,6 +915,7 @@