It seems every time Cursor tries to use this feature, I get this error. And sometimes I have to specifically tell it to not try to use string replace for it to be able to continue.
Steps to Reproduce
I just prompt the AI and it seems anytime it tries to do string replace, it fails. I have private mode on, not sure if that is needed to use it.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
I’m using Claude 4 … and I guess I wouldn’t know if it does work in a new chat because it would only report an error, right? At the moment, I’m in a chat that says “Start a new chat for better results” I don’t want to turn off privacy mode lol.
It looks like it is working most of the time, but you see the occasional error when the model provides the wrong parameters.
This is somewhat expected, as the models may not be precise enough with their execution of their tool, but it should self-heal like it has done here, and continue being able to modify the file!