---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/interfaces/ChatCompletionsRetryConfig.md
description: Retry/backoff configuration for a Chat-family battery's HTTP requests.
---

# Interface: ChatCompletionsRetryConfig

Defined in: [src/batteries/llm/chat\_common/types.ts:481](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/chat_common/types.ts#L481)

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.         | [src/batteries/llm/chat\_common/types.ts:485](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/chat_common/types.ts#L485) |
|  `honorRetryAfter?`     | `boolean`  | Whether to honour a server `Retry-After` header in place of computed backoff. | [src/batteries/llm/chat\_common/types.ts:491](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/chat_common/types.ts#L491) |
|  `maxAttempts?`             | `number`   | Maximum number of attempts (including the first) before giving up.            | [src/batteries/llm/chat\_common/types.ts:483](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/chat_common/types.ts#L483) |
|  `maxDelayMs?`               | `number`   | Upper bound in milliseconds on any single backoff delay.                      | [src/batteries/llm/chat\_common/types.ts:487](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/chat_common/types.ts#L487) |
|  `retriableStatuses?` | `number`\[] | HTTP status codes that trigger a retry.                                       | [src/batteries/llm/chat\_common/types.ts:489](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/chat_common/types.ts#L489) |
