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