gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

fix(core): improve API response error handling and retry logic

Open mattKorwel opened this issue 3 weeks ago • 2 comments

  • Always retry on transient network error codes (e.g., ETIMEDOUT, ECONNRESET) regardless of retryFetchErrors setting.
  • Update WebFetchTool to use retryWithBackoff for fallback fetch operations to handle rate limits (429) and server errors (500s) robustly.
  • Add comprehensive tests for retry logic and WebFetchTool error handling.

mattKorwel avatar Dec 05 '25 03:12 mattKorwel