gpt4all
gpt4all copied to clipboard
gpt4ALL v2.4.4 doesn't save the chat history
System Info
v2.4.4
windows 11
Python 3.11.3
gpt4all-l13b-snoozy
Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
Related Components
- [ ] backend
- [ ] bindings
- [ ] python-bindings
- [ ] chat-ui
- [ ] models
- [ ] circleci
- [ ] docker
- [ ] api
Reproduction
- open app
- start chat "1+1="
- ai: 1+1=2
- go to chats menu
- see excising chat name: "correct"
- new chat
- start chat "5+5="
- ai: 5+5=10
- go to chats menu i see 2 chats and conversation history (1+1 and 5+5)
- close the app
- reopen the app
- open chats menu
- no previous chats history , only the blank one
Expected behavior
Chats history should remember all not deleted chats
Works here. Sometimes when you close the application and then reopen it too quick it might behave wonky. I suspect that is what is happening for you. After you close give it up to35 seconds to save your chats to disk and then reopen. I can think about how to make this more intuitive in the future... maybe i get rid of the main window but keep something saying that it is saving the files or something.
maybe i get rid of the main window but keep something saying that it is saving the files or something.
Does QML have an overlay? Could you just put a gray overlay over the window with a message about saving chats and then when it gets the chatSaved() signal that's when it actually calls exit? This way users with quick computers will barely see it and users that are affected can't click stuff on the UI to introduce anything odd there.
GPT4All needs to persist each chat as soon as it's sent. I just lost hours of chats because my computer completely locked up after setting the batch size too high, so I had to do a hard restart. All the chats were gone after rebooting. I can't believe that this isn't the case by default.
:( This is an amazing app and idea, but it's for demo purposes only at the moment. I was working with Vicuna-13b for 6 hours today, opened a video file, and my PC suddenly got rebooted, and all history just disappeared//// heh
windows binary, hermes model, works for hours with 32 gig of RAM (when i closed dozens of chrome tabs)) can confirm the bug with a detail - each session drops zero bytes file, where i think chats ought to be saved. log file has a message upon startup that said files cannot be parsed (because empty, duh!)
(db file is virtually empty)
Works here. Sometimes when you close the application and then reopen it too quick it might behave wonky. I suspect that is what is happening for you. After you close give it up to35 seconds to save your chats to disk and then reopen. I can think about how to make this more intuitive in the future... maybe i get rid of the main window but keep something saying that it is saving the files or something.
I can confirm it. When the main window is closed, the application is still running and is saving chat files. I needed to wait until the application process really ends. Reopening the application too fast leads to such data loss.
Maybe some prevention to start multiple processes could help. A popup at application close to show saving progress would be helpful, too.
Please fix and introduce this in your documentation. For me, this directly relates to export/backup a chat: Add ability to export/backup or save chat. #572
Seems solved.
Please always feel free to open more issues as needed.
I see this issue was closed but it's not clear what the fix was. I have lost many chats because even after weeks of being open and having dozens of chats, one crash and I find that all my chats for the last month are gone.