Skip to content

Codex says its out of context but it just compacted and context was at 100% #6039

Closed

Description

@davidbenhaim

What version of Codex is running?

codex-cli 0.48.0-alpha.2

What subscription do you have?

pro

Which model were you using?

gpt-5-codex

What platform is your computer?

macos

What issue are you seeing?

"■ Codex ran out of room in the model's context window. Start a new conversation or clear earlier history before retrying."

Chat just compacted and context was at 100% but chat refused to respond. Couldn't figure out how to roll back conversation or edit history...

I had to run /new

What steps can reproduce the bug?

idk how to reproduce

What is the expected behavior?

it should properly compact and use new context.

Additional information

■ Codex ran out of room in the model's context window. Start a new conversation or clear earlier history before retrying.

Activity

  1. added
    contextIssues related to context management (including compaction)
    on Oct 31, 2025
  2. aibrahim-oai commented on Oct 31, 2025

    @aibrahim-oai
    Contributor

    Can you upgrade to the latest version? should be solved in a better way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcontextIssues related to context management (including compaction)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions