INNER CODE UNIT · TypeScript
waitMs
Kong/volcano-agent-sdk · src/patterns.ts:121
const waitMs = 1000 * Math.pow(backoff, attempt);
await new Promise(resolve => setTimeout(resolve, waitMs));
}
}
throw new Error(`retryUntil: Failed to meet success condition after ${maxAttempts} attempts`);
}
export async function executeRunAgent(
subAgent: AgentBuilder,
parentStepIndex?: number,
parentTotalSteps?: number,
parentContext?: StepResult[]
): Promise<StepResult[]> {
// Suppress progress header/footer but keep step progress for explicit composition
interface AgentBuilderInternal {
__isSubAgent?: boolean;
__isExplicitSubAgent?: boolean;