Interface: ChatCompletionsRetryConfig
Defined in: batteries/llm/chat_common/types.ts:250
Retry/backoff configuration for a Chat-family battery's HTTP requests.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
baseDelayMs? | number | Base delay in milliseconds for the first retry; doubles each attempt. | batteries/llm/chat_common/types.ts:254 |
honorRetryAfter? | boolean | Whether to honour a server Retry-After header in place of computed backoff. | batteries/llm/chat_common/types.ts:260 |
maxAttempts? | number | Maximum number of attempts (including the first) before giving up. | batteries/llm/chat_common/types.ts:252 |
maxDelayMs? | number | Upper bound in milliseconds on any single backoff delay. | batteries/llm/chat_common/types.ts:256 |
retriableStatuses? | number[] | HTTP status codes that trigger a retry. | batteries/llm/chat_common/types.ts:258 |