From 7ba7b959a81d6ddace59c3c45ae67b7d7b416660 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 11 Jul 2024 11:00:42 -0700 Subject: [PATCH] feat: message event --- src/lib/components/chat/Chat.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index a6800f512..2bd65e88f 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -156,6 +156,8 @@ } else { message.citations = [data]; } + } else if (type === 'message') { + message.content += data.content; } else if (type === 'confirmation') { eventCallback = cb; showEventConfirmation = true;