webui: Fix editing assistant message without branching (#20944)
* fix: Editing assistant response without branching * chore: update webui build output
This commit is contained in:
Binary file not shown.
@@ -1207,7 +1207,6 @@ class ChatStore {
|
|||||||
await conversationsStore.updateCurrentNode(newMessage.id);
|
await conversationsStore.updateCurrentNode(newMessage.id);
|
||||||
} else {
|
} else {
|
||||||
await DatabaseService.updateMessage(msg.id, { content: newContent });
|
await DatabaseService.updateMessage(msg.id, { content: newContent });
|
||||||
await conversationsStore.updateCurrentNode(msg.id);
|
|
||||||
conversationsStore.updateMessageAtIndex(idx, { content: newContent });
|
conversationsStore.updateMessageAtIndex(idx, { content: newContent });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user