Error - edit_file

I’ve added “The code edit / apply tool only supports small-to-medium diffs, so proceed step-by-step.” to my global Cursor rules, which helps but the issue of apply model failing still is occurring somewhat frequently.