Fix WI overflow alerting counter

This commit is contained in:
Cohee 2023-09-01 23:14:01 +03:00
parent 6c097560ca
commit 428c851c9b
1 changed files with 1 additions and 1 deletions

View File

@ -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;