Skip to content

Conversation

srogmann
Copy link

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.

Copy link
Collaborator

@mofosyne mofosyne left a 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.

@srogmann
Copy link
Author

There was a JSON-download in

const downloadConversation = () => {

@allozaur
Copy link
Collaborator

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.

@srogmann
Copy link
Author

Hi @allozaur , I thought about a transfer of master...srogmann:llama.cpp:feature/import_export_all to Svelte.

@srogmann
Copy link
Author

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).

@allozaur
Copy link
Collaborator

Hey! I will take a closer look at these changes this week. I'll keep u posted 🙂

@allozaur allozaur self-assigned this Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants