[GH-ISSUE #1408] [FEAT]: Ability to delete messages from conversation history #898

Closed
opened 2026-02-22 18:22:05 -05:00 by yindo · 5 comments
Owner

Originally created by @frost19k on GitHub (May 15, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1408

Originally assigned to: @shatfield4 on GitHub.

What would you like to see?

Ability to delete messages from the conversation history, both user and assistant.

Sometimes the assistant will spaz out and...

    {
      "role": "assistant",
      "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
    },

Every prompt after that will result in nonsense. But if I ask the same question in a new thread I get a good response. So I figure if that particular prompt and response pair were removed I can salvage the conversation history.

Originally created by @frost19k on GitHub (May 15, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1408 Originally assigned to: @shatfield4 on GitHub. ### What would you like to see? Ability to delete messages from the conversation history, both user and assistant. Sometimes the assistant will spaz out and... ``` { "role": "assistant", "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" }, ``` Every prompt after that will result in nonsense. But if I ask the same question in a new thread I get a good response. So I figure if that particular prompt and response pair were removed I can salvage the conversation history.
yindo added the enhancementfeature request labels 2026-02-22 18:22:05 -05:00
yindo closed this issue 2026-02-22 18:22:05 -05:00
Author
Owner

@WillemDeGroef commented on GitHub (Jun 13, 2024):

Would also love this feature. It is annoying that for example misunderstood questions take up token. It makes sense to delete parts of the conversation.

@WillemDeGroef commented on GitHub (Jun 13, 2024): Would also love this feature. It is annoying that for example misunderstood questions take up token. It makes sense to delete parts of the conversation.
Author
Owner

@igmarketing commented on GitHub (Jun 20, 2024):

+1 for this... also a feature to edit and resubmit a different message. Better ChatGPT have this, even ChatGPT. It's a must-have feature!

@igmarketing commented on GitHub (Jun 20, 2024): +1 for this... also a feature to edit and resubmit a different message. Better ChatGPT have this, even ChatGPT. It's a must-have feature!
Author
Owner

@timothycarambat commented on GitHub (Jun 20, 2024):

@igmarketing

+1 for this... also a feature to edit and resubmit a different message

we already have this

  • edit user message and resubmit from that message (any) - just hover over any user message
  • Edit LLM response for correctness - shown via pencil icon on any LLM response

Deletion is covered by this issue

@timothycarambat commented on GitHub (Jun 20, 2024): @igmarketing > +1 for this... also a feature to edit and resubmit a different message we already have this - edit user message and resubmit from that message (any) - just hover over any user message - Edit LLM response for correctness - shown via pencil icon on any LLM response Deletion is covered by this issue
Author
Owner

@yhslai commented on GitHub (Jun 25, 2024):

+1 for this.

No, editing isn't the same as deleting. The github issue page we're using now has both editing and deleting for a reason.

image

@yhslai commented on GitHub (Jun 25, 2024): +1 for this. No, editing isn't the same as deleting. The github issue page we're using now has both editing and deleting for a reason. ![image](https://github.com/Mintplex-Labs/anything-llm/assets/538696/4bdd520f-b97f-4933-99ef-6bd9fc9e37f9)
Author
Owner

@timothycarambat commented on GitHub (Jun 25, 2024):

@yhslai I wasn't implying editing === deleting. That is why this issue remains open! It is to track that specific feature. All I was commenting on what the other chat functions are since this issue covered a request for both editing and deleting. We did editing so this issue is now solely on deletion support - we understand the need for both 👍

@timothycarambat commented on GitHub (Jun 25, 2024): @yhslai I wasn't implying editing === deleting. That is why this issue remains open! It is to track that specific feature. All I was commenting on what the other chat functions are since this issue covered a request for both editing and deleting. We did editing so this issue is now solely on deletion support - we understand the need for both 👍
yindo changed title from [FEAT]: Ability to delete messages from conversation history to [GH-ISSUE #1408] [FEAT]: Ability to delete messages from conversation history 2026-06-05 14:37:49 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#898