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`);
|
console.debug(`WI budget reached, stopping`);
|
||||||
if (world_info_overflow_alert) {
|
if (world_info_overflow_alert) {
|
||||||
console.log("Alerting");
|
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;
|
needsToScan = false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue