Often when I work I want cursor to do something and when it does I want to write a new question or prompt to the queue. My workflow is often that I first chose the mode, then I write the prompt. This results in that I sometimes asks it to edit something in “agent” mode and while it edits, I change to “ask” mode before I start writing a new question. This makes cursor think that it is in “ask” mode also in the prompt it is currently processing. What I think is the desired behavior is for it to stay in the mode I had it in when I sent it the prompt during the whole processing. Now I often need to restart the processing of a “agent” prompt that was stopped beacuse it suddenly thought it was in “ask” mode.
In the screenshot I asked it to do something while it was in “agent” mode before I changed it to “ask” mode in the middle of the process.
