feat: webui notification

This commit is contained in:
Timothy J. Baek 2023-12-14 17:48:21 -08:00
parent b7ff3af445
commit 0fdb346a31
3 changed files with 37 additions and 28 deletions

View file

@ -222,7 +222,7 @@
};
messages = messages;
if ($settings.responseNotification && !document.hasFocus()) {
if ($settings.notificationEnabled && !document.hasFocus()) {
const notification = new Notification(
selectedModelfile
? `${

View file

@ -236,7 +236,7 @@
};
messages = messages;
if ($settings.responseNotification && !document.hasFocus()) {
if ($settings.notificationEnabled && !document.hasFocus()) {
const notification = new Notification(
selectedModelfile
? `${