From fc31fbfae37419d08f7eb791df5bfc9cd9ff2ded Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 10 Oct 2026 21:22:09 +0400 Subject: [PATCH] refac --- src/lib/components/chat/Chat.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 0582517950..fa4f05311a 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -3103,6 +3103,7 @@ }; const createMessagePair = async (userPrompt) => { + if (readOnly) return; messageInput?.setText(''); if (selectedModels.length === 0) { toast.error($i18n.t('Model not selected'));