mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-26 08:58:09 +01:00
Fix WI overflow alerting counter
This commit is contained in:
parent
6c097560ca
commit
428c851c9b
@ -1103,7 +1103,7 @@ async function checkWorldInfo(chat, maxContext) {
|
||||
console.debug(`WI budget reached, stopping`);
|
||||
if (world_info_overflow_alert) {
|
||||
console.log("Alerting");
|
||||
toastr.warning(`World info budget reached after ${count} entries.`, 'World Info');
|
||||
toastr.warning(`World info budget reached after ${allActivatedEntries.size} entries.`, 'World Info');
|
||||
}
|
||||
needsToScan = false;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user