Skip to content

Regenerate & edit messages #67

@Mateleo

Description

@Mateleo

I'm working on adding two features to the chatbot app:

  • A “regenerate” option for assistant messages.
  • An “edit” option for user messages.

The frontend part is fairly straightforward, but I’m struggling a bit with how to handle message storage in the database. I think adding a new API route might be necessary, like what do you think? From a UX perspective, I believe the best behavior is that when a message is edited or regenerated, the system should delete all subsequent messages (from that one onward) and then regenerate the assistant’s response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions