0% context free leads to ⚠️ Stream error: stream disconnected before completion
Resolved 💬 1 comment Opened Oct 10, 2025 by habbler Closed Oct 10, 2025
What version of Codex is running?
0.46.0
Which model were you using?
gpt-5-codex
What platform is your computer?
Ubuntu bare metal server
What steps can reproduce the bug?
Keep on resuming your codex session until 0% context free.
Then every request results in [⚠️ Stream error: stream disconnected before completion].
Compaction is no longer possible.
What is the expected behavior?
Error message should be: 0% context available. Requests no longer possible.
Offer to truncate context, or edit it manually.
Warn at 5% free with offer to compact.
What do you see instead?
_No response_
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗