fix: correct phrasing in user prompts for editing files
This fixes an issue where the model sends long corrections (for other files) before requesting the file, causing the same corrections to be sent multiple times or leading to their loss.
Thanks for your interest in aider and for taking the time to make this PR.
How have you concluded that this prompting change has the desired effect?
Thanks for your interest in aider and for taking the time to make this PR.
How have you concluded that this prompting change has the desired effect?
- Asked Gemini 2.5 Pro why it proposed edits to files that were not added; it pointed to these locations.
- Reviewed the output of
aider --show-promptsto verify that the corrected prompt versions are actually being used. - I haven’t noticed any recurrence of this problematic behavior since applying these changes.
leading to their loss
This was probably related to other bugs (already fixed).
Hm. Probably this is not a proper fix for my problem.