From 12f95555fc0f699458ebdaa5fb503342a2a16406 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 23 Sep 2024 23:23:08 +0200 Subject: [PATCH] fix --- src/lib/components/chat/Messages.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index 5a6bc0112..d342abf7f 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -216,6 +216,7 @@ if (submit) { // New response message const responseMessageId = uuidv4(); + const message = history.messages[messageId]; const parentId = message.parentId; const responseMessage = {