# Gemini CLI nightly 20260716: fix 400 errors from cancelled tool responses

> Nightly with a single functional fix: cancelled tool responses are grouped and consecutive roles coalesced, preventing 400 Bad Request from the API. Matters if you cancel tool calls mid-turn and hit request failures.

| | |
|---|---|
| **Tool** | Gemini CLI |
| **Version** | v0.52.0-nightly.20260716.g3ff5ba20f |
| **Kind** | release |
| **Published** | 2026-07-16 |
| **Observed** | 2026-08-11 |
| **Significance** | 2/5 |
| **Breaking** | no |
| **Categories** | fix |

## What changed


- core,a2a: group cancelled tool responses and coalesce consecutive roles to prevent 400 Bad Request (#28407)
- chore: version bump to 0.52.0-nightly.20260715.gfa975395b (#28402)


## Sources

- [github_release](https://github.com/google-gemini/gemini-cli/releases/tag/v0.52.0-nightly.20260716.g3ff5ba20f) — retrieved 2026-08-11

## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/gemini-cli/v0-52-0-nightly-20260716-g3ff5ba20f
Entity: https://changelogs.info/gemini-cli
Event ID: `evt_2026-07-16_gemini-cli_v0-52-0-nightly-20260716-g3ff5ba20f`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
