Open sidbetatester opened 1 week ago
This is a simple feature to backup and restore the projects, mainly helpful if you need to clear browser history and restore on the same system, or to take it around different systems. I kept the changes very minimal to not affect any existing code.
one way to use it is also you could edit the backed up chat history in case you want to remove unwanted information to reduce the chat length and hence meet the context length when it gets too big. I might make this possible in the future.
Was thinking to add this too, but do it per one chat, not all of them Though I guess doing it for all of them is good too, will review now
Something broken around deleting chats, there is not item and description. Try to delete a chat
I also think that you need to split that large function in to smaller parts. Harder to understand what it does.
There were couple of typescheck issues when I runned workflows
Also there is empty app/utils/backup.ts file?
@sidbetatester Could you reply to @wonderwhy-er feedback when you get the chance? Thanks for that by the way Eduard!
Added chat history backup and restore functionality:
Features and Usage
Export Chat History
bolt-chat-history-[date].json
will be downloadedImport Chat History
Technical Changes
Error Handling
Notes