mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Reset scan state to recursion on more available
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user