---
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: [batteries/llm/chat\_common/types.ts:250](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/chat_common/types.ts#L250)

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](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/chat_common/types.ts#L254) |
|  `honorRetryAfter?`     | `boolean`  | Whether to honour a server `Retry-After` header in place of computed backoff. | [batteries/llm/chat\_common/types.ts:260](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/chat_common/types.ts#L260) |
|  `maxAttempts?`             | `number`   | Maximum number of attempts (including the first) before giving up.            | [batteries/llm/chat\_common/types.ts:252](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/chat_common/types.ts#L252) |
|  `maxDelayMs?`               | `number`   | Upper bound in milliseconds on any single backoff delay.                      | [batteries/llm/chat\_common/types.ts:256](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/chat_common/types.ts#L256) |
|  `retriableStatuses?` | `number`\[] | HTTP status codes that trigger a retry.                                       | [batteries/llm/chat\_common/types.ts:258](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/chat_common/types.ts#L258) |
