From 9b0388d00a9de4051d89b5390f8f367d98d09d9f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 1 Dec 2024 08:23:36 -0800 Subject: [PATCH] chore: remove AI-related comments from code --- aider/repomap.py | 1 - aider/watch.py | 1 - 2 files changed, 2 deletions(-) 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 )