Broaden Gemini fallback chain with lite models#6
Merged
Conversation
Free-tier quota is 20 requests/day PER MODEL. Add gemini-3.1-flash-lite and gemini-flash-lite-latest to the default fallback chain so an exhausted primary falls through to a model with fresh daily quota. Matches the live service's GEMINI_FALLBACK_MODELS override.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Free-tier Gemini quota is 20 requests/day per model. Adds
gemini-3.1-flash-liteandgemini-flash-lite-latestto the default fallback chain so an exhausted/overloaded primary falls through to a model with fresh daily quota — keeping the AI working even under free-tier limits. Matches the live service env override. Typecheck + tests pass.