Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to apply diff to file - contents are out of sync: / #261

Open
syndicate604 opened this issue Dec 31, 2024 · 2 comments
Open

Unable to apply diff to file - contents are out of sync: / #261

syndicate604 opened this issue Dec 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@syndicate604
Copy link

Which API Provider are you using?

OpenRouter

Which Model are you using?

DeepSeek V3

What happened?

Even when the git repo is clean, and I I tell cline to resync and scan the filebase

Unable to apply diff to file - contents are out of sync:

Happens non stop all the time on all models almost. DIFF is almost impossible and has to resort to full writes

What the hell is OUT OF SYNC and why does it happen all the time

Steps to reproduce

  1. Ask for things
  2. Cline tries to DIFF
    3.Unable to apply diff to file - contents are out of sync: /

Relevant API REQUEST output

No response

Additional context

No response

@syndicate604 syndicate604 added the bug Something isn't working label Dec 31, 2024
@mrubens
Copy link
Collaborator

mrubens commented Dec 31, 2024

Can you export a chat and add a gist of the contents for me to look at? Thank you!

@deathtothenig
Copy link

Yes, I get the same error and don't know how to resolve it. Unable to apply diff to file - contents are out of sync: Sometimes Cline can go on for a long time and it never happens then it will happen every time to the point where it stops and says Cline is having problems... I'm not interfering with the files while Cline is working, so I don't understand why sometimes it never happens while other files it constantly happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants