From 044a5fd0a5a95e24b3556a76f1cfe6da6efdfbae Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 25 Oct 2026 16:11:51 +0900 Subject: [PATCH] refac --- src/lib/components/chat/Chat.svelte | 2 ++ src/lib/components/chat/MessageInput.svelte | 1 + src/lib/components/notes/Notes.svelte | 1 + src/lib/components/workspace/Models/ModelEditor.svelte | 3 +++ src/routes/(app)/automations/+page.svelte | 1 + 5 files changed, 8 insertions(+) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 445b132840..894f531a32 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -3682,6 +3682,8 @@ } const model = atSelectedModel?.id ?? selectedModels.find((modelId) => modelId); + // Preserve the former toast translation for i18n extraction. + // const toastId = toast.loading($i18n.t('Compacting context...')); const compactChatId = $chatId; const compactMessageId = history.currentId; if ($contextCompactions[compactMessageId] === 'in_progress') return; diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 4f672e68be..1dce908a0e 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -2928,6 +2928,7 @@ {:else}
+