feat(webui): switch model presets from the composer (#5077)

This commit is contained in:
chengyongru authored and GitHub committed 2026-07-24 17:34:26 +08:00
1 parent 9aab94c766
commit 5be176a6a0
16 files changed
+991 -138

No files matched your search

+1 -1
View File
@@ -1689,7 +1689,7 @@ function Shell({
} catch {
// ignore storage errors
}
client.sendMessage(chatId, "/restart");
void client.sendSystemCommand(chatId, "/restart").catch(() => {});
}, [activeSession?.chatId, client]);
useEffect(() => {