Skip to content

RetryPolicyOptions

RetryPolicyOptions = object

Caller-facing knobs for the SDK’s auto-idempotency retry on transient first-chunk failures.

Defaults are tuned for interactive and agent latency budgets: 3 attempts with exponential backoff capped at 8s, so a one-off flake recovers without user-perceptible latency. Override individual fields as needed.

https://docs.warmhub.ai/sdk/transient-retry/#tuning-retry

optional maxAttempts?: number


optional baseDelayMs?: number


optional maxDelayMs?: number