# How does automatic chat retry work?

> Cube Agent 2.4.1 Release (Build 2004105) User Guide.
> Category: Chat. Content baseline: 2026-12-05.
> Web page: https://cubeagent.app/en/docs/chat_retry_policy/

Adjust the three retry categories separately in **Settings → General → Input & interaction → Sending & replies**:

- **Retry after network errors**: Off by default. Retries when a connection drops or times out, which may replace a partial reply already streamed during this turn.
- **Retry after service errors**: Off by default. Only retries 502/503/504 service errors when no content has been output yet.
- **Retry after rate limits**: On by default. When no content has been output yet, temporary rate limits or upstream queuing errors returned by the provider are retried after waiting. If your quota or balance is exhausted, resolve your account quota first.

All three error types share a combined limit of at most 3 retries per turn — not 3 retries per type. While waiting, the input area shows the reason and a countdown, and you can stop at any time. Automatic retry stops if the server requests a wait longer than 60 seconds, and user cancellations, authentication errors, or invalid requests are never resent repeatedly. Requests involving tools or images that cannot be safely replayed may also stop automatic retry.

Retries may incur additional model calls and charges, and seamless continuation of a previous partial answer is not guaranteed. These settings apply to chat retries; retry behavior for failed image generation tasks is configured separately in Task Center.
