In the last few days, Cody chat in VScode has responded to any request with ‘Here is the proposed change:’ followed by diff-style output and tries to auto-apply it’s changes without any input from me.
This makes Cody chat completely unusable. If I were asking for code changes, the fact that Cody is applying text in a diff format which completely wrecks any code I have anyway, however, I’m not even asking for code changes. I was asking Cody to help me check my code for potential causes for a bug I’m struggling to diagnose properly.
Is there something going wrong on my end that I should look into?
Hey @the_nexust
This sounds like Sonnet 3.7. This model does overly more than asked and you need to put it on a leash. That means, your prompt needs to be adapted to this model.
I did think it might be a model specific issue, so I tried a range of models before reaching out.
I get the same result regardless of whether I’m using Claude, GPT, or Gemini. I watched the output just to be sure the chosen model was actually being used. I’m really not sure what’s going wrong.
Hi @PriNova Same issue, I’m also facing
I have exactly the same issue. No matter the model or the repository, I’m stuck on it.
So, I found a workaround. I downgraded it to a random past version (v1.72.0), and it works. It’s probably some update that got released with a bug.
Do you really mean 1.72 or 1.82? Because the step to 1.72 is very large for bisecting what the issue might be.
1.72. I went back to a random version from about a month ago. I haven’t messed with any of the others, though.
1.74.0 is the latest stable version that doesn’t have this new bug.
Hey @AlfredoSandoval
that is great information. That helps a lot for bisecting the commit range.
Fixed on latest pre-release (1.87.1744887451).
Thank you sir!
Great to hear. Thank you for your feedback
Hey @AlfredoSandoval some other users are reporting that for them the issue wasn’t resolved by upgrading. What did you do others don’t have been done? haha
Hey @PriNova - my bad just got to this. Looks like it’s still fine on latest pre-release 1.89.17 - but others should double check it
(working on VS Code (1.99.3) + Cursor (1.96.2)
I made another post about this issue before I discovered this one.
I’m encountering this error in VSCode with Cody Extension v1.88.0 on Windows 11 on my local machine but my GitPod instance of the repo has v1.86 and works just as I expect it to.
I just noticed another possible clue into the behaviour, when I try and run a query without a file open. The query fails all together with an error: “Request Failed: Failed to execute edit command”. So I guess it’s treating everything like it’s in edit mode instead of the default, “Chat Only”?