aider icon indicating copy to clipboard operation
aider copied to clipboard

REQ: Break re-factoring down into new additions and then removals.

Open 5ocworkshop opened this issue 1 year ago • 1 comments

.22 is really great, but gpt4 still struggles with breaking larger functions down in to smaller pieces as it tries to make very large diffs and fails. I have had good luck asking it to do one function at a time, and to do all the new adds as one diff, then once the functions are present and complete, go back and remove the duplicate code from the original function. Not sure how this approach could be incorporated but wanted to mention that GPT4 is struggling with this particular task and this seems to be a way around it.

5ocworkshop avatar Jan 31 '24 18:01 5ocworkshop

bump

heijligers avatar Feb 25 '24 20:02 heijligers