Closed fmaclen closed 2 months ago
@GregoMac1 I'm wondering if it makes sense to split this issue in 2 parts:
1- Edit user
message behavior
2- Edit assistant
message behavior
I think editing the user
message is more useful than editing the assistant
message, so we can punt that part for later.
@fmaclen I was wondering on what should happen when the user edits a message and clicks Save & Run
. Should the old response be deleted and replaced for the new response to the edited message?
Should the old response be deleted and replaced for the new response to the edited message?
@GregoMac1 Yeah, that's what I had in mind.
REF #9
User
orwill now have an edit button (next to the copy button)Assistant
User
message, theRun
button changes toSave & Run
Cancel
(orDismiss
,Discard
) button that makes everything go back to the way it was before clickingEdit
<Pencil />
toast.success()
notice.Later we can allow editing
assistant
messages:Assistant
message, theRun
button changes the label toSave
, once clicked the new edited message should be visible in the session history.Assistant
messages can only be saved because there is new completion unless the user submits a new prompt after.