Concept

Retry Logic

Retry logic is the policy for deciding whether a failed request should run again and when the next attempt should happen.

Why it matters

Retries can improve reliability, but uncontrolled retries can duplicate work or overload OpenAI.

How ReqRun approaches it

ReqRun uses exponential backoff with jitter, max retries from configuration, and records each attempt for visibility.

Common mistakes

Do not retry validation-style 4xx errors indefinitely. Fix the request input instead.