continue icon indicating copy to clipboard operation
continue copied to clipboard

BUG: AI Receiving Altered Diff Content Instead of Original File

Open luislobo14rap opened this issue 11 months ago • 3 comments

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue version: latest
- IDE version: latest
- Model: any... (I used in the video ministral-3:8b with MOD to work with MultiEdit)
- config:

Description

I recorded a bug showing that the AI is occasionally receiving the wrong context. When I send the file containing the word “morning” for the first time, the AI changes it to “dawn”.

I ask it to repeat, and instead of receiving the file’s original value (that is, morning), it receives the altered word from the diff view, which I didn’t approve.

This happens only occasionally, and I believe it’s caused by some concurrency issue between clearing the diff view and sending the file to the AI.

To reproduce

https://github.com/user-attachments/assets/380693a8-bbbb-49f2-bc41-20b831bf0074

Log output


luislobo14rap avatar Dec 04 '25 17:12 luislobo14rap

Related issues:

  • #6813 - Apply changes the code then revert everything
  • #4478 - Applying code doesn't work correctly on diffs
  • #7688 - Previous chat (Accept/Reject) buttons are carry-forwarded to the new chat even after deleting chat history
  • #8507 - @file only sends file path to AI but not content
  • #6908 - Applying code changes swallows some spaces and tabs from the LLM code reply
  • #7495 - under Agent mode multiedit tool has error

continue avatar Dec 04 '25 17:12 continue

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Mar 05 '26 02:03 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Mar 15 '26 02:03 github-actions[bot]