Skip to content

After compacting context, model replies to old messages #34862

Description

@uKER

What version of Codex CLI is running?

codex-cli 0.145.0

What subscription do you have?

Pro

Which model were you using?

Terra medium

What platform is your computer?

Windows

What terminal emulator and version are you using (if applicable)?

cmd

Codex doctor report

What issue are you seeing?

After compacting context, model replies to old messages, probably from re-reading the compacted content.

What steps can reproduce the bug?

Uploaded thread: 019f8a9d-e765-7063-8271-17ea812542d5

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingcontextIssues related to context management (including compaction)model-behaviorIssues related to behaviors exhibited by the modelwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions