diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 4f227c090..c698698ce 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1535,7 +1535,7 @@ ); } - history.messages[responseMessageId] = responseMessage; + history.messages[responseMessage.id] = responseMessage; }; const stopResponse = () => {