Aider-AI / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
20.68k stars 1.91k forks source link

aider sonnet 3.5, whole format #1915

Open sprappcom opened 2 weeks ago

sprappcom commented 2 weeks ago

Issue

the rest of the file is deleted / removed. should i use whole or diff format doing rustlang?

use crate::templates::ArticleTemplate;

// ... rest of the file content ...

Version and model info

latest aider of today ubuntu 24.04

fry69 commented 2 weeks ago

Thank you for filing this issue.

aider defaults to diff for a reason. LLMs tend to shorten their output this way as they are not trained/do not expect to be used as a code editing tool. In doubt, trust aider's defaults.

paul-gauthier commented 1 week ago

Thanks for trying aider and filing this issue. This doc may be helpful:

https://aider.chat/docs/troubleshooting/edit-errors.html