GitHub Copilot CLI can wedge sessions after history grows beyond the 5 MB CAPI limit
jay-tau · ghdev · 2026-07-20
A GitHub Copilot CLI issue says auto-compaction does not prevent a session from getting wedged once the serialized CAPI Responses request grows past the 5 MB body limit.
- A long, tool-heavy autonomous run can stay within token limits but still fail because the request payload exceeds 5 MB.
- After the first failure, a tiny follow-up like continue immediately hits the same error because the oversized history is reused.
- The report says this happened in Copilot CLI 1.0.71 on Linux with gpt-5.6-sol and Autopilot.
More from coding & agent
- NVIDIA says Nemotron 3 Ultra hit 97.1% on agentic RTL chip-design tasks — NVIDIAAI · 2026-07-27
- Tokyo Agent Forge hackathon shipped production-ready AI agents in one day — DavidBennett__ · 2026-07-27
- Long-running agents will need immutable event logs, this thread argues — sebpaquet · 2026-07-27
- Agentic Data Science in Practice: Agents Write Code but Answer Wrong Questions — hugobowne · 2026-07-27
- A VS Code extension adds Markdown-style highlighting to Alchemy string templates — samgoodwin89 · 2026-07-27
- Claude’s Stripe MCP connector is being called unusable after repeated disconnects — evielync · 2026-07-27