]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ui: export full message tree instead of active path only (#25501)
authorPascal <redacted>
Fri, 10 Jul 2026 07:10:45 +0000 (09:10 +0200)
committerGitHub <redacted>
Fri, 10 Jul 2026 07:10:45 +0000 (09:10 +0200)
commitd46786f29685d9626fcd7d51c52d1087bac3d059
tree5a8e2eaded1c671751a5a4b05712cd44d32ecee4
parent2ed3c1abbb8e155226b0b2cbeb9e9efad77fbb02
ui: export full message tree instead of active path only (#25501)

downloadConversation serialized activeMessages, the root -> currNode
path, so exporting a conversation with edited or regenerated messages
dropped every alternate version and kept only the selected one.

Fetch the whole message tree via getConversationMessages so the export
carries all message versions, matching the multi-conversation export
path which already did this. Keep the active conversation as the header
source to preserve an up-to-date currNode.

Forks are separate conversations, each with its own convId, and are
exported on their own.
tools/ui/src/lib/stores/conversations.svelte.ts