From 550075bba4313e9398b555ebc98a4018f7e89901 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 29 Sep 2024 18:24:44 +0200 Subject: [PATCH] fix: action button not working --- src/lib/components/chat/Messages.svelte | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index 83ea3714f..ef2810686 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -383,7 +383,6 @@ {mergeResponses} {readOnly} on:action={async (e) => { - const message = history.messages[message.id]; if (typeof e.detail === 'string') { await chatActionHandler(chatId, e.detail, message.model, message.id); } else {