fix: let external agent worker drain before exit
This commit is contained in:
@@ -310,7 +310,7 @@ export function createAgentRunGateway({
|
||||
error_message: message,
|
||||
completed_at: retryable ? null : nowMs(),
|
||||
});
|
||||
if (retryable) {
|
||||
if (retryable && autoDispatch) {
|
||||
setTimeout(() => dispatchRun(runId), retryDelaysMs[nextAttempt - 1]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user