From 56c99000c4fcb32a15e7cc8706ebcad193a25249 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 30 Nov 2024 18:21:15 +0200 Subject: [PATCH] Split auto-switch toast --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index f93880cea..9e212faa0 100644 --- a/public/script.js +++ b/public/script.js @@ -1262,7 +1262,7 @@ async function getStatusTextgen() { } if (old_value !== max_context) { console.log(`Auto-switched max context from ${old_value} to ${max_context}`); - toastr.info(`Context Size Changed: ${old_value} ⇒ ${max_context}`); + toastr.info(`${old_value} ⇒ ${max_context}`, 'Context Size Changed'); } } console.log(`We have chat template ${chat_template.split('\n')[0]}...`);