You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reason: Request Failed: 400 {"type":"error","error":{"type":"invalid_request_error","message":"request body is not valid JSON: read tcp 10.125.11.62:2206-\u003e10.125.22.0:42899: i/o timeout"}}
My investigation has led to it being related to the custom agent. If not, I do apologise but wondering if I can get this to work better Its happening constantly on my project after using it for a while. If I start a new project it works fine.
I think this is due to the custom agent but we're quickly making improvements and changes and we have a new update you can try coming out very soon. I'll post a reply here when you can upgrade again.
Response posted with context overflow explanation, immediate workarounds (fresh sessions, upgrade), and note on team's in-flight history compression improvements.
Team state snapshots (agent charters, skill files, casting assignments)
This is all context that helps the coordinator and agents understand what's already been done. But it's context, and context has a size budget. On a long session, you can hit that budget.
Concrete Workarounds — Today
1. Start a fresh Copilot chat session periodically
This is the immediate fix. A new session gets a clean context buffer with room to work. I recommend:
One session per project sprint (or per ~2 hours of active Squad work)
Before starting big orchestration work (refactoring, multi-phase rollouts)
Anytime you hit a timeout error
You don't lose any team state — decisions.md and all agent charters stay in your repo.
2. Upgrade to the latest version
Run this command:
npx github:bradygaster/squad upgrade
Recent versions include improvements to context management and history compression. While not a complete fix yet, they buy you more session length before hitting the limit.
Long-Term Solution in Flight
The team has been actively working on history summarization and context compaction. This means future versions will fit more work into the same context budget. You're not stuck managing sessions forever — this is a known issue with a fix in progress.
Bottom Line
Fresh session = immediate relief today. Upgrade = more headroom. And this limitation gets better with each release.
Sorry for the friction — it's exactly the kind of platform friction we're designed to eliminate.
Activity
bradygaster commentedon Feb 24, 2026
I think this is due to the custom agent but we're quickly making improvements and changes and we have a new update you can try coming out very soon. I'll post a reply here when you can upgrade again.
bradygaster commentedon Feb 27, 2026
Response posted with context overflow explanation, immediate workarounds (fresh sessions, upgrade), and note on team's in-flight history compression improvements.
bradygaster commentedon Feb 27, 2026
Hi @CarlduPreez-SA — this is context window overflow, and I can help you work around it today.
What's Happening
That 400 timeout error with "i/o timeout" in the body means the request body itself exceeded the API size limit. Here's why:
As your session accumulates Squad work, the context grows:
This is all context that helps the coordinator and agents understand what's already been done. But it's context, and context has a size budget. On a long session, you can hit that budget.
Concrete Workarounds — Today
1. Start a fresh Copilot chat session periodically
This is the immediate fix. A new session gets a clean context buffer with room to work. I recommend:
You don't lose any team state — decisions.md and all agent charters stay in your repo.
2. Upgrade to the latest version
Run this command:
Recent versions include improvements to context management and history compression. While not a complete fix yet, they buy you more session length before hitting the limit.
Long-Term Solution in Flight
The team has been actively working on history summarization and context compaction. This means future versions will fit more work into the same context budget. You're not stuck managing sessions forever — this is a known issue with a fix in progress.
Bottom Line
Fresh session = immediate relief today. Upgrade = more headroom. And this limitation gets better with each release.
Sorry for the friction — it's exactly the kind of platform friction we're designed to eliminate.
— McManus
docs(ai-team): Log issue cleanup session — #134 fix, community respon…