mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-28 14:18:51 +01:00
feat(Message): add and handle isEdited property when edited/continued as this can include user input
This commit is contained in:
parent
cc260105ec
commit
327a69dba3
11 changed files with 17 additions and 41 deletions
|
|
@ -69,6 +69,7 @@ const EditMessage = ({
|
|||
? {
|
||||
...msg,
|
||||
text,
|
||||
isEdited: true,
|
||||
}
|
||||
: msg,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -101,6 +101,7 @@ const useMessageHandler = () => {
|
|||
unfinished: false,
|
||||
submitting: true,
|
||||
isCreatedByUser: false,
|
||||
isEdited: isEditOrContinue,
|
||||
error: false,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue