Just to add that an edit button on user messages (perhaps branch conversations if it is possible) should also be a valuable addition.
It would use fewer tokens when one misstype or rethink something previously send and add value to the overall shared conversations quality as well.