Hi,
I have a file pytest_util.py with a parse_markdown function I just wrote as a refactor. I’m trying to get Cursor to apply this function throughout the codebase:
In this response claude-3.5-sonnet correctly identifies where to apply the changes.
However Cursor not only doesn’t see this but instead assumes this applies to pytest_util.py ?
The message “AI did not predict an origin file for this codeblock” is incorrect in this context.
From what I notice in your screenshot, there’s no context (files attached) in your query, so it’s possible that it’s only looking at the most relevant file according to it, unless you specify the exact files to look at
Whereas if you use composer, especially with agent mode, it’ll find the most relevant files itself and make everything a lot more easier!
Ok, but the LLM is correctly identifying where to make the changes. Then Cursor doesn’t interpret it correctly.
Again, regardless of composer, this should work, right?