Switching from agent to ask while cursor processes a request makes it not able to do changes

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.

Hey, thanks for the report. I can see the screenshot, the agent really did lose the ability to edit files after switching modes.

This is a known bug. If you switch from Agent to Ask while a request is still running, the current turn picks up the new mode instead of staying in the mode it was sent in. The team is aware. There’s no ETA for a fix yet, but your report helps with prioritization.

For now, the workaround is to wait for the current request to finish, or cancel it, before switching modes for the next prompt in the queue.

Let me know if you need anything else.