Reset scan state to recursion on more available

This commit is contained in:
Wolfsblvt 2024-09-15 17:02:48 +02:00
parent 609439def1
commit f0a3886b42
1 changed files with 1 additions and 0 deletions

View File

@ -4055,6 +4055,7 @@ export async function checkWorldInfo(chat, maxContext, isDryRun) {
// If the scan is done, but we still have open "delay until recursion" levels, we should continue with the next one
if (nextScanState === scan_state.NONE && availableRecursionDelayLevels.length) {
nextScanState = scan_state.RECURSION;
currentRecursionDelayLevel = availableRecursionDelayLevels.shift();
}