darrenburns / elia

A snappy, keyboard-centric terminal user interface for interacting with large language models. Chat with ChatGPT, Claude, Llama 3, Phi 3, Mistral, Gemma and more.
Apache License 2.0
1.78k stars 115 forks source link

Option to delete chats #50

Closed LFd3v closed 4 months ago

LFd3v commented 4 months ago

Hi, there.

Archive actually means the chat contents are deleted (removed from the database)? If not:

  1. Is there a planned feature to browser and restore chats?
  2. Maybe add a option to simply delete chats (with confirmation, if possible)?

Thanks again!. Regards

rsipakov commented 4 months ago

How can I restore a chat from an archive?

felipetibarbosa commented 4 months ago

How can I restore a chat from an archive?

I believe that just deleting it from sqlite.

darrenburns commented 4 months ago

How can I restore a chat from an archive?

@rsipakov For now you'll have to set archived=0 on the chat in the database. There's no way to do it via the UI.

Is there a planned feature to browser and restore chats?

@LFd3v Yes, it's planned but not sure when I'll get to it. Could be a couple of months at least.

Maybe add a option to simply delete chats (with confirmation, if possible)?

@LFd3v This would be part of the above feature. When viewing the archived chats you could a) restore or b) delete.