#10984: OpenClaw lists gemini-2.0-flash but misses gemini-2.5-flash-lite (Gemini CLI supports it)
agents
size: S
Cluster:
OAuth and CLI Fixes
- Added Google Gemini CLI updated models as per the issue reported : https://github.com/openclaw/openclaw/issues/10284
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
- Updates the Google Gemini provider model list in `src/agents/models-config.providers.ts` to reflect newer Gemini CLI-supported models.
- Ensures OpenClaw’s advertised Gemini models align with what the Gemini CLI provider can actually request.
- Change is limited to provider configuration (no runtime logic changes elsewhere).
<h3>Confidence Score: 3/5</h3>
- This PR is close to mergeable but includes changes that will cause user-visible issues if merged as-is.
- Main concern is committed debug `console.log` output in a core provider resolution path, which will spam logs and may leak profile identifiers. There’s also an `as any` cast for the new provider API key that hides type mismatches and reduces safety.
- src/agents/models-config.providers.ts
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#7913: fix: fixed gemini-cli usage not working for preview models
by RomanHotsiy · 2026-02-03
79.1%
#10372: Fix google-gemini-cli-auth to work on Windows
by omribahumi · 2026-02-06
78.3%
#11464: feat(models): add forward-compat fallback for gemini-3-pro-image
by ben-milanko · 2026-02-07
78.1%
#21181: fix(models): add gemini-3.1-pro-preview forward-compat for google-g...
by Mellowambience · 2026-02-19
77.7%
#13075: [Feature]: Add Gemini (Google Search grounding) as web_search provider
by akoscz · 2026-02-10
76.1%
#23040: Upgrade default Google model to Gemini 3.1 Pro and add Venice catal...
by Clawborn · 2026-02-21
75.9%
#21263: fix: add google-vertex support for Gemini 3.1 models
by pdd-cli · 2026-02-19
75.6%
#13006: fix(provider): disable reasoning tags for gemini-3-pro variants to ...
by whyuds · 2026-02-10
74.8%
#7781: fix: resolve Google Gemini CLI auth credential extraction #4585
by ManojPanda3 · 2026-02-03
74.7%
#23424: feat: add Gemini 3.1 Pro Preview support (google-gemini-cli)
by hongchanroh · 2026-02-22
74.4%