chat history LOST and automatic rollback

Issue Description

I lost chat history of my current chat (on going) after an unexpected disconnection from my remote linux server, I try to send a message to let it go on, but it suddenly roll back all the changes of this chat without asking. This chat cost almost 2000 credit and all changes during this chat are important to me.

Steps to Reproduce

  1. connect to a remote linux server 2. chat ongoing 3.disconnect from your remote linux server 4.reconnnect 5. now you lost the history of your current chat (all blank), but all changes remain 6. type a commend to the chat 7. it roll back all the changes, now you lose everthing (but the used credits still counts)

Expected Behavior

Help me find back the history quickly, or refound my credit consumed during this chat

Actual Behavior

w8

Screenshots / Screen Recordings

my story is clear enough

Operating System

windows 11. connected to remote linux project

Current Qoder Version (Menu → About Qoder → Copy)

0.2.25

Please submit an issue so that we can troubleshoot it together with the logs.