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
Properties
Section titled “Properties”maxAttempts?
Section titled “maxAttempts?”
optionalmaxAttempts?:number
baseDelayMs?
Section titled “baseDelayMs?”
optionalbaseDelayMs?:number
maxDelayMs?
Section titled “maxDelayMs?”
optionalmaxDelayMs?:number
Hit a problem or have a question? Get in touch.