Gemini CLI Fix Stops Custom Model Aliases From Silently Losing Generation Settings
sayaklearner-prog · ghdev · 2026-11-17
PR #30316 in google-gemini/gemini-cli fixes a subtle bug: applyModelSelection() compared the resolved model (e.g. gemini-2.5-flash-lite) against the requested tier name (flash-lite), and since they weren't string-equal, it falsely treated normal tier resolution as an availability fallback — silently dropping the alias's custom generation parameters like temperature and maxOutputTokens.
The fix distinguishes normal tier resolution from genuine fallbacks and preserves the alias's GenerateContentConfig, with regression tests added.
More from coding & agent
- After a compromise, this engineer moved all AI coding agents off his desktop — rseroter · 2026-11-17
- Compound launches IC Deck Bench, first benchmark for IC-ready PowerPoint agents — peterjliu · 2026-11-17
- Confluent's Kafka Agent Skills Praised for Quality, Ship With Built-in Evals — AdiPolak · 2026-11-17
- itr8 puts Claude, GPT, Gemini and Grok in one group chat to collaborate on your work — cantrell · 2026-11-17
- 1000-agent swarm pybot experiment writeup coming within days — lvwerra · 2026-11-17
- Developer: My Elaborate AI Workflows Kept Failing — Just Focus on the Outputs — brandon_galang · 2026-11-17