ERROR codex_core::compact_remote: remote compaction failed

Resolved 💬 4 comments Opened Mar 2, 2026 by Gusarich Closed Jun 29, 2026
2026-03-02T17:05:11.672329Z ERROR codex_core::compact_remote: remote compaction failed turn_id=019caf82-2300-7823-8bb7-649a014dec7f last_api_response_total_tokens=117322 all_history_items_model_visible_bytes=470164 estimated_tokens_of_items_added_since_last_successful_api_response=10162 estimated_bytes_of_items_added_since_last_successful_api_response=40646 model_context_window_tokens=Some(121600) failing_compaction_request_model_visible_bytes=483682 compact_error={
  "error": {
    "message": "Your input exceeds the context window of this model. Please adjust your input and try again.",
    "type": "invalid_request_error",
    "param": "input",
    "code": "context_length_exceeded"
  }
}
ERROR: Error running remote compact task: {
  "error": {
    "message": "Your input exceeds the context window of this model. Please adjust your input and try again.",
    "type": "invalid_request_error",
    "param": "input",
    "code": "context_length_exceeded"
  }
}

thread ids: 019caf82-22df-7e33-8aef-07b30337dde0 and 019caf3f-2f08-7fc0-8857-125bede02bca

happened with gpt-5.3-codex-spark, codex-cli 0.107.0-alpha.3, using exec

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗