Duo Chat: Allow deleting specific chat history for context removal
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
In Duo Chat land, there is currently a proposal for editing chat history of a single message, Duo Chat: allow editing the a question to cours... (#477998).
To go one step further it might be interesting to allow users the ability to remove certain context from the chat to maintain "focus" for the rest of the chat thread.
I am imagining a situation where Duo and I are discussing how to implement a FastAPI server endpoint. There are four messages back and forth when Duo introduces the concept of a router. I've never heard of router before and we have 4 messages back and forth about API routing in Python. Those 4 messages are not entirely constructive to the conversation thread about FastAPI implementation in my current project and might skew the direction/approach Duo takes with the rest of the conversation.
Proposal
Allow users to edit messages in the chat history and select specific messages to delete (or just exclude from context). I am imagining an "Edit History" button that gives message selection and an action once messages are selected.
Either the message goes away completely or turns a different color to indicate that the messages are not being used as context. I think deleting the message is the right step here, but that is a design decision.
Beyond editing this could also include a forward messages feature for people to share specific parts of conversations they've had with other people. The conversations that are selected are copied to the users clipboard to be pasted somewhere else.