feat: 增加手动停止错误处理,优化自动重启逻辑

This commit is contained in:
QLHazyCoder
2026-04-17 10:14:54 +08:00
parent 1a7ae1dc27
commit 32e3973340
3 changed files with 25 additions and 1 deletions
+4
View File
@@ -5062,6 +5062,10 @@ async function runAutoSequenceFromStep(startStep, context = {}) {
}
step += 1;
} catch (err) {
if (isStopError(err)) {
throw err;
}
const restartDecision = await getPostStep6AutoRestartDecision(step, err);
if (restartDecision.shouldRestart) {
postStep6RestartCount += 1;