You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey!
First of all, amazing tool—I love using it! Thank you!
During a major refactor, I noticed some inefficient behavior in the model. When moving a large chunk of logic from a file (e.g., ai.py) to other files, it then attempted to delete ai.py. However, instead of simply generating an rm command (or something similar) with the filename, it output an entire search-replace block, where the SEARCH section contained the file’s full contents, and the REPLACE section was empty.
Since the file itself was large, this approach seemed unnecessarily wasteful just to delete it.
<<<<<<< SEARCH
3k tokens worth of code
=======
>>>>>>> REPLACE
Version and model info
Aider v0.72.3
Main model: claude-3-5-sonnet-20241022 with diff edit format, prompt cache, infinite output
Weak model: claude-3-5-haiku-20241022
Git repo: .git with 8 files
Repo-map: using 4096 tokens, files refresh
The text was updated successfully, but these errors were encountered:
Issue
Hey!
First of all, amazing tool—I love using it! Thank you!
During a major refactor, I noticed some inefficient behavior in the model. When moving a large chunk of logic from a file (e.g.,
ai.py
) to other files, it then attempted to delete ai.py. However, instead of simply generating anrm
command (or something similar) with the filename, it output an entire search-replace block, where theSEARCH
section contained the file’s full contents, and theREPLACE
section was empty.Since the file itself was large, this approach seemed unnecessarily wasteful just to delete it.
Version and model info
The text was updated successfully, but these errors were encountered: