Skip to content

Conversation

warpdev
Copy link
Contributor

@warpdev warpdev commented Aug 27, 2025

Fixes #2755

Before

2025-08-27.4.23.53.mov

After

2025-08-27.4.24.58.mov

Solution

Add a leading blank line to the stream-error history cell (new_stream_error_event, like new_error_event) so it renders as an independent block.

@warpdev
Copy link
Contributor Author

warpdev commented Aug 27, 2025

Note: Fundamentally, the logic that treats a "user" text line as a user-message marker—and the heuristic that uses blank lines as boundaries—needs to be revisited. In the current design, if a Codex response happens to include a line that is exactly "user", it can be misclassified as a user message. Rather than relying on raw text parsing, we should refactor to persist and use cell-level metadata (e.g., role/type) for message identification.

@oyiakoumis
Copy link
Contributor

100% agreeing with your last message

@warpdev warpdev closed this Sep 16, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Sep 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Message edit mixes last user message with "stream error … retrying…" text
2 participants