mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix WI overflow alerting counter
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user