← Back to PRs

#10984: OpenClaw lists gemini-2.0-flash but misses gemini-2.5-flash-lite (Gemini CLI supports it)

by jatinb92 open 2026-02-07 08:03 View on GitHub →
agents size: S
- 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