Gemini CLI silently swapped 3.7 Flash for 3.5; log your actual API calls
PawelHuryn · x · 2026-09-04
The author recounts a benchmark debugging saga: before Antigravity CLI launched, he ran 3.7 Flash through the Gemini CLI, but every API call silently went to gemini-3.5-flash despite the startup line saying 3.7. The cause: the CLI had a built-in model list, and unknown flash models were quietly replaced with the default.
He only caught it by logging every API call, then put a small gateway between the CLI and Google to rewrite the model name — 498/498 calls verified after that. Lesson: the requested model is not the setting; log what actually got called.
Related event: Bug Hunt Bench: GPT-6 Astra tops 105 real-bug test at 48/105(11 posts)→
More from coding & agent
- Dev feedback: decoupling rex sessions from native windows is harder to adapt to than expected — alexisgallagher · 2026-12-05
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05