Updates to files deleting unchanged code.
Which API Provider are you using?
Anthropic
Which Model are you using?
Claude 3.5 Sonnet
What happened?
Often when I am updating a file. Instead of it just updating the methods in a class that needs to be changed. It deletes all the other code and returns only the methods that have been updated.
Steps to reproduce
1.Share a file 2. Explain changes that need to be made 3. When it suggests changes it shows all other code in the file being deleted. Keeping only the methods that are updated.
Relevant API REQUEST output
No response
Additional context
This is an amazing project. I have been using it the last few weeks daily. This is a relatively new issue.
Please also see #470
Please see this guide https://github.com/clinebot/cline/wiki/Troubleshooting-%E2%80%90-Cline-Deleting-Code-with-%22Rest-of-Code-Here%22-Comments
Anthropic will be releasing an update to Claude that should fix this issue soon.