Gemini CLI PR fixes 'cancelled' wording that made models re-run tool calls in 15/15 tests

sha7doww · ghdev · 2026-11-28

A PR to google-gemini/gemini-cli (#30507) fixes a subtle headless-mode bug: when SIGINT stops an in-flight MCP tool call, the recorded result says "Operation Cancelled" — but the CLI sends no cancellation to the server, and the call usually completed anyway. Models reading the resume transcript interpret "cancelled" as "didn't happen" and re-execute the tool.

Original post →

More from coding & agent

coding & agent channel →