fix(ai): add retry with server-provided delay for Gemini CLI rate limits, fixes #370

This commit is contained in:
Mario Zechner 2026-01-02 10:45:59 +01:00
parent 0d1424d8e5
commit fd35d9188c
2 changed files with 136 additions and 14 deletions

View file

@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- **Gemini CLI rate limit handling**: Added automatic retry with server-provided delay for 429 errors. Parses delay from error messages like "Your quota will reset after 39s" and waits accordingly. Falls back to exponential backoff for other transient errors. ([#370](https://github.com/badlogic/pi-mono/issues/370))
## [0.31.1] - 2026-01-02
## [0.31.0] - 2026-01-02