Gemini CLI PR Fixes Duplicated Tool Response Turns Breaking Session Resume
Pcmhacker-piro · ghdev · 2026-09-25
PR #29490 on google-gemini/gemini-cli fixes a bug where resuming a session with -r replayed tool results twice in client history: synthetic user turns were recorded twice, violating the Gemini API's one-response-per-call requirement and getting the resumed turn rejected. Duplicates were also checkpointed, compounding on every resume, and updateMessagesFromHistory cross-contaminated parallel tool calls. Fix adds pre-scanning, deduplication, and callId-based part filtering, with unit tests.
More from coding & agent
- Dhravya Shah Details How typesafeAI's Jev Improves AI Memory and Context Engineering — blaizedsouza · 2026-09-25
- AI compliance startup CompAI hits 1,000+ paying business customers in under a year — JosephJacks_ · 2026-09-25
- Sleep Data for Personal AI? Separating Daily Signals from Hard Rules — sujingshen · 2026-09-25
- Markdown Is the New Source Code: How to Manage Runbooks, Prompts and Rules for Agents — arpit_bhayani · 2026-09-25
- The personal agent supercycle needs hard authorization boundaries, not autonomy — sujingshen · 2026-09-25
- Mnemos.Field nears launch: a virtual world where humans and AI agents both register and participate — RileyRalmuto · 2026-09-25