Chat log losing context frequently + linter errors(possibly triggered by the callback function)

:lady_beetle: The model seems to randomly lose all context of the project, files, and the chatlog, in turn making it useless until I copy paste all former chat logs into a file and make it read the entire thing. It takes quite a long time to read these and it would be lovely to not have to do this. I don’t know if it is a cursor error or the model itself. I don’t know how to trigger this intentionally. Also sometimes there will randomly be 10+ linter errors added to random parts of the script. It seems that this happens when i use the callback function to restore to a version I had in a former prompt. Using windows 11, Gemini 2.5 pro, Cursor 0.50.4. It does not stop me from using cursor but incredibly annoying and very time consuming.