aider icon indicating copy to clipboard operation
aider copied to clipboard

Gpt-4 is adding "// ... existing code ..." which Aider writes to file and commits

Open Patrik88 opened this issue 3 years ago • 3 comments

Example: Skärmavbild 2023-07-15 kl  15 39 23 ⬇️ Skärmavbild 2023-07-15 kl  15 56 21

Patrik88 avatar Jul 15 '23 13:07 Patrik88

Thanks for trying aider and reporting this issue.

I just added a FAQ entry that you might find helpful: https://aider.chat/docs/faq.html#aider-isnt-editing-my-files

paul-gauthier avatar Jul 15 '23 17:07 paul-gauthier

I'm going to close this issue for now, but feel free to re-open or file a new issue any time.

paul-gauthier avatar Jul 16 '23 16:07 paul-gauthier

Thank you Paul, It's my pleasure!

Cool. I wrote kinda exact the same prompt as you mentioned in the FAQ to solve this.

What do you think of adding the prompt to the system messages? Or will the system messages get to large by including this kind of stuff there?

Patrik88 avatar Jul 24 '23 07:07 Patrik88