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

This commit is contained in:
chengyongru
2026-07-24 17:34:26 +08:00
committed by GitHub
parent 9aab94c766
commit 5be176a6a0
16 changed files with 991 additions and 138 deletions
+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(() => {