Skip to content

Message edit mixes last user message with "stream error … retrying…" text #2755

@warpdev

Description

@warpdev

What version of Codex is running?

0.24.0

Which model were you using?

gpt-5

What platform is your computer?

Darwin 24.5.0 arm64 arm

What steps can reproduce the bug?

  1. While a stream error is visible (e.g., stream error: … retrying …), press Esc once to stop the streaming response.
  2. Press Esc again (Esc, Esc) to open the Edit Message UI.
  3. In the editor for the last user message, notice the stream-error line is appended at the bottom of your message text.
  4. Press Enter to actually start editing: the stream-error text is inside the editable buffer and can be modified as if it were part of your message.

What is the expected behavior?

The edit buffer should contain only the text I sent; transport/retry logs should never appear in the message body.

What do you see instead?

The stream-error/retry line is merged into the last user message and becomes editable (and can be saved) as if I had typed it.

Additional information

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions