Before submitting your bug report
Relevant environment info
- OS: Windows 11
- Continue version: 1.2.22
- IDE version: Code 1.117.0
- Model: "DeepSeek Coder" (deepseek-v4-flash)
Description
When the AI requests an edit, you can type in a follow-up instead of rejecting or accepting the edit. The edit request will not be carried out, but the AI will receive an indicator that the edit was successful. As a result, the AI's view of the file will disagree with the actual state.
While this is less a problem for short files, with longer files, the AI may output a diff against their desynchronized view of the file, which fails to apply.
To reproduce
- Create a new C source file with an empty main function:
#include <stdio.h>
int main(int argc, char **argv)
{
}
-
Ask the AI to write Hello World in the current file.
-
After an edit is suggested, ask the AI to add the functionality to print out argv[0]. The edit will not be carried out, but the interface of Continue marks this edit as accepted.
Log output
Before submitting your bug report
Relevant environment info
Description
When the AI requests an edit, you can type in a follow-up instead of rejecting or accepting the edit. The edit request will not be carried out, but the AI will receive an indicator that the edit was successful. As a result, the AI's view of the file will disagree with the actual state.
While this is less a problem for short files, with longer files, the AI may output a diff against their desynchronized view of the file, which fails to apply.
To reproduce
Ask the AI to write Hello World in the current file.
After an edit is suggested, ask the AI to add the functionality to print out argv[0]. The edit will not be carried out, but the interface of Continue marks this edit as accepted.
Log output