When using Cursor - The AI Code Editor I had an issue where I tried to publish the PR as it had finished my task but it failed to create a PR just saying error creating it, and then now when I try to make a new agent conversation it says “Failed to create agents.” No matter what I do.
Steps to Reproduce
Literally was just using the cursor agent as usual on my phone and I tried to publish a PR it had completed but it failed to publish it so then I was like okay I’ll delete the chat and make a new agent, although I did make the agent manually push to GitHub before I seated the chat and now I can’t make a new agent, period.
Expected Behavior
Able to make a new agent. Able to push to GitHub.
ALSO as an aside. Agents typically do not successfully get the task I give them correct on the first time and the only way for me to test if they have on my phone is if I push it to GitHub and then test it on my website. Since you have changed it to auto archive after each PR it is very annoying to have to start a new agent conversation and re give it all the context instead of just saying you failed try again (like you used to be able to do). In fact the automatic archive may be part of the reason for this bug anyways. Please make it so you either can unarchive easily (unmerge I guess as well if that is possible, or make it so you can just keep generating new PRs in the same conversation until you choose to make a new agent conversation).
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Does GitHub have a deployed feature? Can Cursor read the latest deployment? This can closely collaborate with the functionalities of websites like NuxtHub, Vercel, etc. When Cursor runs background agents, it should have the permissions of a PR author, such as modifying the title, description, comments, reading deployments, and my comments.
I also get a “failed to create agent” every time I try from the web ui. If i try from cursor I get “Cursor app needs to be installed” error, which I have never seen before. The cursor app is installed on the repo I am targeting. Background agents worked great last time I used them a couple of weeks ago.
This is the error I see in web console when creating an agent:
Error creating background composer for model default (bcId: bc-e05f400f-2b05-490e-
834b-b71a16f153e6): Error: HTTP error for model default! status: 500at page-
07ddd4c5fc6aff74.js?dpl=dpl_74RuiYnRrYJbzFkkFkN5Pfccs9VY:1:115417at async
Promise.all (index 0)at async eX (page-07ddd4c5fc6aff74.js?
dpl=dpl_74RuiYnRrYJbzFkkFkN5Pfccs9VY:1:116471)
Cursor has access to the repository in question with the following permissions, I also made sure that the branch exists (though it would make sense for it to be created when I’m in the cursor dashboard UI)