BUG: AI Receiving Altered Diff Content Instead of Original File
Before submitting your bug report
- [ ] I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- [ ] I'm not able to find a related conversation on GitHub discussions that reports the same bug
- [ ] I'm not able to find an open issue that reports the same bug
- [ ] I've seen the troubleshooting guide on the Continue Docs
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
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
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.
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!