13 ms·
Aider uses different prompting strategies for GPT-3.5 and 4. GPT-3.5 is only able to reliably edit a file by returning a whole new copy of the file with the e
by anotherpaulg 3y ago
Aider uses different prompting strategies for GPT-3.5 and 4.
GPT-3.5 is only able to reliably edit a file by returning a whole new copy of the file with the edits included. This is the "whole" edit format.
GPT-4 is able to use a more efficient "diff" edit format, where it species blocks of code to search and replace.
All of this is described and quantified in more detail in the original aider benchmarking article.
https://aider.chat/docs/benchmarks.html https://aider.chat/docs/benchmarks.html
- reitzensteinm 3y agoMakes sense, thanks. I've so far stuck with "whole" for my own experiments, which is slower and more expensive, but it's a more asynchronous use case compared to Aider.