Skip to content

Model did nothing except wait for a terminal, but the entire context window was eaten up by something. #8675

@Nek-12

Description

@Nek-12

What version of Codex is running?

0.77.0

What subscription do you have?

Pro

Which model were you using?

5.2-codex

What platform is your computer?

macos

What issue are you seeing?

I only asked the model to run a single script, it ran the script, but that caused all of 400k tokens to be wasted on something, and caused compaction for some reason. Please see chat logs.

What steps can reproduce the bug?

Uploaded thread: 019b7fc3-e6a9-74f0-b5f3-2dc3118596a7

What is the expected behavior?

You don't compact and don't spend 400k tokens on something that is not visible in the chat, outside of both codex and my control.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentIssues related to the core agent loopbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions