Interface: ExponentialBackoffOptions
@providerprotocol/ai / @providerprotocol/ai / ExponentialBackoffOptions
Interface: ExponentialBackoffOptions
Section titled “Interface: ExponentialBackoffOptions”Defined in: src/http/retry.ts:28
Options for exponential backoff retry strategy.
Properties
Section titled “Properties”baseDelay?
Section titled “baseDelay?”
optionalbaseDelay:number
Defined in: src/http/retry.ts:32
Initial delay in milliseconds (default: 1000)
jitter?
Section titled “jitter?”
optionaljitter:boolean
Defined in: src/http/retry.ts:36
Whether to add random jitter to delays (default: true)
maxAttempts?
Section titled “maxAttempts?”
optionalmaxAttempts:number
Defined in: src/http/retry.ts:30
Maximum number of retry attempts (default: 3)
maxDelay?
Section titled “maxDelay?”
optionalmaxDelay:number
Defined in: src/http/retry.ts:34
Maximum delay cap in milliseconds (default: 30000)