When I give a prompt, the ‘loading’ part stays frozen and after a while I get the error: ‘The model provided an ambiguous search string to replace.’
Steps to Reproduce
I give a prompt and expect it to write code, but after a while it either starts showing errors or doesn’t write any code at all it just cancels the prompt.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Start a new chat – a fresh conversation often clears loops or tool misuse.
Use smaller, more specific edits – break large changes into chunks, as MultiEdit can struggle with complex or ambiguous modifications.
If the problem persists, copy the Request ID from the chat sidebar (menu → “Copy Request ID”) and share it - I guess a staff member may be able to help review.
Hey, thanks for the report. Arun’s suggestions are the best approach for this issue. The “ambiguous search string” error usually appears when the model struggles with complex edits or an overly large context.
Quick fixes:
Start a fresh chat (this clears the tool usage loop)
Break requests into smaller, more specific edits
If it persists, grab the Request ID from the chat sidebar (menu → “Copy Request ID”) and share it here so we can investigate
Let me know if the issue continues after starting a new chat.