diff --git a/apps/detail-agent-pi/src/worker-receipts.mjs b/apps/detail-agent-pi/src/worker-receipts.mjs index 32804fe2..dda0742e 100644 --- a/apps/detail-agent-pi/src/worker-receipts.mjs +++ b/apps/detail-agent-pi/src/worker-receipts.mjs @@ -9,8 +9,9 @@ export function validateWorkerArguments(name, parameters, args, facts) { } } -// R4 实机正常复核用 2–6 轮,再留 4 轮用于根据回执纠正。 -export const WORKER_TURN_LIMIT = 10; +// R4 两轮实测:生图子代理中位 6–8 轮、P90 11–12、最多 16 轮;复核中位 3–4、P90 8–11、最多 17 轮。 +// 上限只为截住失控循环(第二轮第 13 屏复核连发 59 轮),不截正常工作。 +export const WORKER_TURN_LIMIT = 24; export function workerTurnBudget(slotId) { let turns=0, submitted=false, lastRejection, failure;