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 {