"Just retry it" hides three LLM failure types — only one is fixed by retrying

ClickOk5811 · reddit · 2026-11-10

A Reddit post argues that wrapping LLM calls in a bare retry(3) conflates three failure classes needing different handlers:

The author shares a three-stage code sketch and caveats: retries cost tokens and latency so caps and per-bucket failure logging matter; retrying non-idempotent actions after timeouts can duplicate side effects; bucket 3 has no generic solution.

Original post →

More from coding & agent

coding & agent channel →