Skip to content

Model forgets it is an agent #3018

@wowshy

Description

@wowshy

What version of Codex is running?

codex-cli 0.27.0

Which model were you using?

gpt5-high

What platform is your computer?

Linux 6.6.93+ x86_64 x86_64

What steps can reproduce the bug?

Long running sessions.
(However, the context pressure wasn't the problem. It had atleast 70% context left)

What is the expected behavior?

Run commands by itself as an agent

What do you see instead?

The model asks me to run the command.
I assume this behaviour is influenced by the chatbot design (where the model didn't have tool access).

Example

If you share `podman info` (store section) and your OS (Linux vs Podman Machine),
I can give exact knobs to toggle for your setup.

This can be fixed by:

  • using better prompts
  • enhancing handling of longer sessions (maybe use handoffs?)
  • improving the model itself

Additional information

Not sure whether this was a bug or not (Atleast the prompt in the repo can be fixed).
Sorry if there was a more appropriate place to raise this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmodel-behaviorIssues related to behaviors exhibited by the model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions