Respect retryDelay in Gemini 429 Responses for Smoother User Experience #2039
Closed
fadenb
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
Can you try in 3.11.0 and reopen if still an issue? Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi RooCode team,
I really enjoy using RooCode - awesome work!
When working with the Google Gemini API, I noticed that RooCode uses a generic exponential backoff when it hits a 429 error. However, the API response includes a retryDelay field that tells the client exactly how long to wait.
It would be great if RooCode could parse and use that retryDelay instead. I think it would improve the user experience while following the guidance the provider gives to the client.
Here’s an example response:
Thanks for considering this!
P.s. "gemini-2.0-pro-exp" is part of the API error response even though 2.5 is used 🤷
Beta Was this translation helpful? Give feedback.
All reactions