Gemini CLI Fix: Preserve Empty Text Turns with Tool Calls or Media

DavidAPierce · ghdev · 2026-08-19

This PR refines chat history validation in isValidContent to preserve model turns containing empty text parts (text: '') when they carry crucial structured payloads like tool requests, responses, or multimodal media.

Context:

Changes:

Original post →

More from coding & agent

coding & agent channel →