Skip to content

fix(core): add gemini-2.5-flash-lite to default fallback chain#27022

Closed
gemini-cli[bot] wants to merge 1 commit into
mainfrom
bot/productivity-updates-20260513232454-25831827041
Closed

fix(core): add gemini-2.5-flash-lite to default fallback chain#27022
gemini-cli[bot] wants to merge 1 commit into
mainfrom
bot/productivity-updates-20260513232454-25831827041

Conversation

@gemini-cli
Copy link
Copy Markdown
Contributor

@gemini-cli gemini-cli Bot commented May 13, 2026

fix(core): add gemini-2.5-flash-lite to default fallback chain

This PR updates the default model policy chain to include gemini-2.5-flash-lite as the final resort.

Currently, the chain only includes gemini-2.5-pro and gemini-2.5-flash. Free-tier users have significantly more quota (1,000 RPD) for Flash-Lite compared to Pro (100 RPD) and Flash (250 RPD). When both Pro and Flash quotas are exhausted, the CLI fails hard despite available Flash-Lite capacity.

Changes:

  • Updated getModelPolicyChain in packages/core/src/availability/policyCatalog.ts to include DEFAULT_GEMINI_FLASH_LITE_MODEL.
  • Updated tests in packages/core/src/availability/policyCatalog.test.ts to reflect the new chain length.

Fixes #26841

cc @adamfweidman @DavidAPierce

This PR updates the default model policy chain to include `gemini-2.5-flash-lite` as the final resort.

Currently, the chain only includes `gemini-2.5-pro` and `gemini-2.5-flash`. Free-tier users have significantly more quota (1,000 RPD) for Flash-Lite compared to Pro (100 RPD) and Flash (250 RPD). When both Pro and Flash quotas are exhausted, the CLI fails hard despite available Flash-Lite capacity.

Changes:
- Updated `getModelPolicyChain` in `packages/core/src/availability/policyCatalog.ts` to include `DEFAULT_GEMINI_FLASH_LITE_MODEL`.
- Updated tests in `packages/core/src/availability/policyCatalog.test.ts` to reflect the new chain length.

Fixes #26841

cc @adamfweidman @DavidAPierce
@github-actions
Copy link
Copy Markdown

You already have 7 pull requests open. Please work on getting existing PRs merged before opening more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default fallback policy chain missing gemini-2.5-flash-lite — users lose 1,000 RPD of available capacity

0 participants