diff --git a/aider/repomap.py b/aider/repomap.py index 9b2fbc59d..0ec4f710a 100644 --- a/aider/repomap.py +++ b/aider/repomap.py @@ -650,7 +650,6 @@ class RepoMap: if not code.endswith("\n"): code += "\n" - #ai context = TreeContext( rel_fname, code, diff --git a/aider/watch.py b/aider/watch.py index 336554dcb..5045c32b6 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -173,7 +173,6 @@ class FileWatcher: ai_comments[fname] = comments # feed the filenames and line numbers to TreeContext, like repomap does - # to produce the `res` with context ai! res = "\n".join( comment for comments in ai_comments.values() if comments for comment in comments )