Files
gemini-cli/packages
Adam Weidman 3bed217620 fix: prevent uncontrolled retry loop during fallback
The retry/fallback path was re-enqueuing the pending user message without deduplication or delay when falling back to the same model, causing a multiplication loop. This fix ensures that we only retry immediately when transitioning to a new model, and respect the backoff delay when retrying the same model.

TAG=agy

CONV=37b3cdb6-8437-4ced-ae4e-3d04054bacb1
2026-05-12 17:50:39 -04:00
..