Cursor tries several times to create a file

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Hey, when I run a prompt and Cursor needs to create new files, it tries several times. First, it creates the file, then it generates the content, but it seems unable to save it. After that, it tries again, but it fails repeatedly. In the end, it attempts to create the file using the terminal, but the same problem happens again and again. I don’t know why this is happening—I’ve already tried different things. Cursor says the problem is related to edit_file, but I’m not sure.

Steps to Reproduce

just try to create a file by cursor, like ask to create test.txt with 5 English words, it won’t work and does it twice with failure, then it tries to do by

Expected Behavior

it must create the file in first try and set its content

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.5 (Universal)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. Could you let me know which model you’re using? Also, does starting a new chat solve the problem?

it’s on auto, and starting new chat doesn’t solve the problem, it happens even after restarting cursor, and in all projects I have.

Could you let me know which model you’re using? Also, could you share the request ID? For this, you need to disable privacy mode if it’s enabled, then reproduce the issue when it happens again and copy the ID.

I cannot reproduce it now, for 2 days it happened but now it’s ok, on auto mode, I’m not sure which model I’m using
it’s the request id for my past tries: 3eb73ae0-1223-498c-83a5-d4e622013781

1 Like

happens again, when I select chatgpt5 it works, but when it’s on auto, it happens again. How i can which model is used when it’s on auto?

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.