mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 09:26:33 +01:00
Reset scan state to recursion on more available
This commit is contained in:
parent
609439def1
commit
f0a3886b42
@ -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 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) {
|
if (nextScanState === scan_state.NONE && availableRecursionDelayLevels.length) {
|
||||||
|
nextScanState = scan_state.RECURSION;
|
||||||
currentRecursionDelayLevel = availableRecursionDelayLevels.shift();
|
currentRecursionDelayLevel = availableRecursionDelayLevels.shift();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user