This commit is contained in:
Timothy Jaeryang Baek committed 2026-05-09 05:27:32 +09:00
1 parent aff78e4958
commit 212bb68a66
1 file changed
+3 -4
+3 -4
View File
@@ -291,7 +291,7 @@
oldSelectedModelIds = structuredClone(selectedModelIds); oldSelectedModelIds = structuredClone(selectedModelIds);
}; };
const resetInput = () => { const resetInput = async () => {
selectedToolIds = []; selectedToolIds = [];
selectedFilterIds = []; selectedFilterIds = [];
pendingOAuthTools = []; pendingOAuthTools = [];
@@ -300,7 +300,7 @@
codeInterpreterEnabled = false; codeInterpreterEnabled = false;
if (selectedModelIds.filter((id) => id).length > 0) { if (selectedModelIds.filter((id) => id).length > 0) {
setDefaults(); await setDefaults();
} }
}; };
@@ -1194,7 +1194,7 @@
autoScroll = true; autoScroll = true;
resetInput(); await resetInput();
await chatId.set(''); await chatId.set('');
await chatTitle.set(''); await chatTitle.set('');
@@ -2217,7 +2217,6 @@
: undefined : undefined
].filter(Boolean); ].filter(Boolean);
if ($temporaryChatEnabled) { if ($temporaryChatEnabled) {
messages = [ messages = [
...messages, ...messages,