Do you have the same experience ? When develop some features or fix some bugs in the middle, the AI assistant will suddenly change speaking different language, or have no idea what’s going on, change your codes totally in the wrong way.
That’s really troublesome.
In that case, I will ask directly: “Are you new session ? Please answer me honestly”. Sometimes it will reply yes and apologize , but sometimes no.
This is really a nightmare because I have to go through the details, and teach it what happened, and that spent a lot of time.
And it doesn’t always take long time to change new session. Sometimes maybe 10 minutes will change new session, or we can call ‘change new AI assistant’.
this is actually because of the small context windows of some models. you can use the “start new chat with summary” button to start a new chat with the summary of your previous chat to fix this
Thanks. But we are in the same Composer window, supposedly the new session can see the conversation history. But it behaves like don’t understand anything.
I have asked them how system works ? They replied, the system will give them a short conversation summary, but they cannot see the conversation history.
And the new session cannot solve the problem as good as old one defently.
in my opinion, this is more of a problem with the model you’re using and not with cursor, because of smaller context windows. maybe you can use something with bigger window like the new gemini model?
The context window behavior you’re seeing is expected - when conversations get too long, Cursor needs to summarize the history to stay within token limits. This can sometimes make it seem like the AI has “forgotten” context
You can check which model you’re using in the AI input box dropdown. More details on the available models here: Cursor – Models
For now, I’d suggest breaking up longer coding sessions into separate chats to keep the full context, or using files to better lock in the context you need for changes that span long chats!