Skip to content

v1.5 resilient Gemini calls with retry, backoff and model fallback

Choose a tag to compare

@TDK-99 TDK-99 released this 04 Sep 15:57
· 82 commits to main since this release
144468a

Adds resilience to LLM calls against Gemini API rate limits and transient failures.

What changed:

  • Exponential backoff with retry on failed Gemini calls
  • Model fallback chain across free-tier models: when a model hits its limit, the system switches to the next available one
  • Sticky + circular fallback logic to avoid wasting retries on already-exhausted models at every row
  • Row-level error tracking for better debugging when a call fails

Contributor: @willsf2021 (core retry/fallback implementation)