From a28ef8acc5850652c480f0891a0721a00c7151ae Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 24 Oct 2024 00:34:44 -0700 Subject: [PATCH] refac --- src/lib/components/chat/Messages/ResponseMessage.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index cc4cd4297..21f23da4d 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -377,8 +377,8 @@ arena: message ? message.arena : false, model_id: message.model, message_id: message.id, - chat_id: chatId, - message_turn: createMessagesList(history, message.id).length + message_index: createMessagesList(history, message.id).length, + chat_id: chatId }, snapshot: { chat: chat