Auto compact error
What version of Codex CLI is running?
.124
What subscription do you have?
pro
Which model were you using?
5.5
What platform is your computer?
windows
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
I keep getting an auto compact error every time i get near the context window limits. even on sub agents.
Error running remote compact task: stream disconnected before completion: error sending request for url
(https://chatgpt.com/backend-api/codex/responses/compact)
codex_core::compact_remote: remote compaction failed turn_id=... last_api_response_total_tokens=239395 all_history_items_model_visible_bytes=1030065 estimated_tokens_of_items_added_since_last_successful_api_response=15190 estimated_bytes_of_items_added_since_last_successful_api_response=60758 model_context_window_tokens=Some(258400) failing_compaction_request_model_visible_bytes=1002450 compact_error=stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)
What steps can reproduce the bug?
Uploaded thread: 019dbd29-611e-7e63-a4ba-eeb24aa0e9b6
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗