Gemini CLI PR fixes HTTP 400 errors from tool calls recorded on stale pre-compression chat

Roshanraj2580 · ghdev · 2026-11-10

A community PR for google-gemini/gemini-cli fixes an ACP-mode bug: after automatic chat compression, tool calls were still recorded against the stale pre-compression chat instance, causing mismatched function call counts and HTTP 400 errors on session reload. The fix adds a getChat() method to dynamically query the active chat, with new unit tests covering post-compression recording; all 55 tests pass.

Original post →

More from coding & agent

coding & agent channel →