-
Notifications
You must be signed in to change notification settings - Fork 13.3k
webui : added download action (#13552) #16282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webui : added download action (#13552) #16282
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable. Matches PR description. Note that it outputs the conversation as JSON.
There was a JSON-download in
|
Hey, @srogmann, thanks for this! I was thinking that maybe additional to this we could add importing/uploading conversations as well? Let me know if u would like to add this or rather have me take over this. |
Hi @allozaur , I thought about a transfer of master...srogmann:llama.cpp:feature/import_export_all to Svelte. |
I've added import and export functionality for all conversations. However, import currently only supports importing all conversations at once. Importing individual conversations is still missing (the import could detect if the JSON file contains just one conversation and then import only that one). |
Hey! I will take a closer look at these changes this week. I'll keep u posted 🙂 |
Looks great this functionality is really a must-have for the web UI |
@srogmann could you please resolve the conflict? after that i'd love to take a look and test it out :) |
5e5c06a
to
9a28dc1
Compare
@allozaur Conflicts are now resolved with a rebase, ready for your review and feedback! |
… testing-branch7
@srogmann i've pushed a PR with small UX improvements (srogmann/pull/1), please review it and if all is good, let's first merege it to your branch and finally we will have green light to merge this PR :) |
…ments UX Improvements for Export/Import feature
@srogmann please just add the static build output to this PR and we're good to go :) |
@allozaur The static build output has been updated. |
I really like the new import feature. This allows me to keep my chat sessions cleaned up and still resume a chat later on by importing a JSON that I exported perhaps weeks or months earlier. I just built llama.cpp b6709 from source and the first impression is good. Edit: Reasoning output isn't shown in the web UI when using popular models like GPT-OSS and Qwen3, but I suppose the web UI developers are aware of this(?). |
* master: (113 commits) webui: updated the chat service to only include max_tokens in the req… (ggml-org#16489) cpu : optimize the ggml NORM operation (ggml-org#15953) server : host-memory prompt caching (ggml-org#16391) No markdown in cot (ggml-org#16483) model-conversion : add support for SentenceTransformers (ggml-org#16387) ci: add ARM64 Kleidiai build and test support (ggml-org#16462) CANN: Improve ACL graph matching (ggml-org#16166) kleidiai: kernel interface refactoring (ggml-org#16460) [SYCL] refactor soft_max, add soft_max_back (ggml-org#16472) model: EmbeddingGemma Adding Support for SentenceTransformers Dense Modules (ggml-org#16367) refactor: centralize CoT parsing in backend for streaming mode (ggml-org#16394) Disable CUDA host buffers on integrated GPUs (ggml-org#16308) server : fix cancel pending task (ggml-org#16467) metal : mark FA blocks (ggml-org#16372) server : improve context checkpoint logic (ggml-org#16440) ggml webgpu: profiling, CI updates, reworking of command submission (ggml-org#16452) llama : support LiquidAI LFM2-MoE hybrid model (ggml-org#16464) server : add `/v1/health` endpoint (ggml-org#16461) webui : added download action (ggml-org#13552) (ggml-org#16282) presets : fix pooling param for embedding models (ggml-org#16455) ...
Close #13552
This PR adds a download action in Svelte, mirroring the implementation from the previous React release (see #13552).
The filename now includes a prefix derived from the beginning of the conversation text.