]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
webui: Fix editing assistant message without branching (#20944)
authorAleksander Grygier <redacted>
Wed, 25 Mar 2026 10:47:33 +0000 (11:47 +0100)
committerGitHub <redacted>
Wed, 25 Mar 2026 10:47:33 +0000 (12:47 +0200)
* fix: Editing assistant response without branching

* chore: update webui build output

tools/server/public/index.html.gz
tools/server/webui/src/lib/stores/chat.svelte.ts

index e2ef75aebef1022bfc31fc0e30fc9ef365b1715a..14d115fa58dc982caa68c2ac53f3d88a2b7ec458 100644 (file)
Binary files a/tools/server/public/index.html.gz and b/tools/server/public/index.html.gz differ
index c31dfc8cbf76bb2f5e261b1bb058701496d8c496..e30ec97fe8a9e83ae7b377e42b85f8557031c457 100644 (file)
@@ -1207,7 +1207,6 @@ class ChatStore {
                                await conversationsStore.updateCurrentNode(newMessage.id);
                        } else {
                                await DatabaseService.updateMessage(msg.id, { content: newContent });
-                               await conversationsStore.updateCurrentNode(msg.id);
                                conversationsStore.updateMessageAtIndex(idx, { content: newContent });
                        }