Skip to content

basalt / ai/src / RetryOptions

Interface: RetryOptions ​

Defined in: ai/src/provider/http.ts:4

Properties ​

baseDelayMs? ​

> optional baseDelayMs?: number

Defined in: ai/src/provider/http.ts:8

Base backoff in ms; doubles each attempt.


retries? ​

> optional retries?: number

Defined in: ai/src/provider/http.ts:6

Extra attempts after the first (so 2 = up to 3 tries).

Released under the MIT License.