Skip to content

Feature request: Edit previously sent user messages in history #511

@OrdinarySF

Description

@OrdinarySF

Feature request

Allow editing previously sent user messages in conversation history.

Context

CodexMonitor is a GUI for Codex CLI. During iterative prompting, users often notice typos or want to refine an earlier prompt after seeing the model response.

Problem

Right now, if a user wants to change a previous message, they have to send a new follow-up message instead of correcting the original one. This makes the conversation harder to manage and reduces workflow efficiency.

Proposed behavior

  1. Add an Edit action for user-authored messages in history.
  2. After editing, provide a clear option like "Regenerate from here".
  3. If regeneration is chosen, discard downstream assistant/tool messages after that point and rerun from the edited message.
  4. Keep the UX explicit (confirmation/warning) so users understand history will be rewritten.

Why this helps

  • Faster prompt iteration.
  • Cleaner conversation history.
  • Better parity with workflows where users frequently refine prompts.

Thanks for considering this enhancement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions