DefaultModelRetryStrategyOptions
Defined in: src/retry/default-model-retry-strategy.ts:29
Options for DefaultModelRetryStrategy.
Properties
Section titled “Properties”maxAttempts?
Section titled “maxAttempts?”optional maxAttempts?: number;Defined in: src/retry/default-model-retry-strategy.ts:34
Total model attempts before giving up and re-raising the error. Must be >= 1. Default DEFAULT_MAX_ATTEMPTS.
backoff?
Section titled “backoff?”optional backoff?: BackoffStrategy;Defined in: src/retry/default-model-retry-strategy.ts:39
Backoff used to compute the delay between retries.
Default: new ExponentialBackoff({ baseMs: DEFAULT_BACKOFF_BASE_MS, maxMs: DEFAULT_BACKOFF_MAX_MS }).