Issue Description
When I click to start a “New Chat,” files that were modified in the previous session revert to their old code (pre-modification state). This results in a loss of work and wasted tokens, as the AI has to re-generate code I already paid for. The issue persists even if I delete the specific chat or close and reopen the application (Qoder). The file state seems to desync or rollback simply by switching chat contexts.
Steps to Reproduce
- Open a chat session and have the AI modify some code files.
- Confirm the files are updated with the new code.
- Click on the “New Chat” button to start a fresh session.
- Check the code files again.
- Observation: The files revert to the old code that existed before the modifications in step 1.
Expected Behavior
The code files should persist in their updated, modified state regardless of whether I start a new chat, delete a chat log, or restart the application. Starting a new chat should not trigger a rollback of file versions.
Operating System
windows
Current Qoder Version
Latest
