From fb83c5762e4fb10585c8adc5ca3aba6e6922ec46 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 10 Dec 2023 15:23:44 -0800 Subject: [PATCH] Update Messages.svelte --- src/lib/components/chat/Messages.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index 3c021664f..36fc6ce39 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -7,7 +7,7 @@ import auto_render from 'katex/dist/contrib/auto-render.mjs'; import 'katex/dist/katex.min.css'; - import { config, db, modelfiles, settings, user } from '$lib/stores'; + import { chatId, config, db, modelfiles, settings, user } from '$lib/stores'; import { tick } from 'svelte'; import toast from 'svelte-french-toast'; @@ -192,7 +192,7 @@ history.currentId = userMessageId; await tick(); - await sendPrompt(userPrompt, userMessageId); + await sendPrompt(userPrompt, userMessageId, $chatId); }; const cancelEditMessage = (messageId) => {