From 69688cffd6609d1c940fba334363ecb42782dd77 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 1 Dec 2024 07:24:53 -0800 Subject: [PATCH] refactor: Add placeholder for AI comments refresh in FileWatcher --- aider/watch.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aider/watch.py b/aider/watch.py index 211a0edb0..8cc424c50 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -171,7 +171,11 @@ class FileWatcher: self.io.tool_output() # TODO refresh all the ai comments from all the abs_fnames - return "" + # put them in ai_comments = dict fname -> get_ai_commet() + for fname in self.abs_fnames: + pass + + # TODO use ai_comments, not self.changed_files in the rest of this method has_bangs = any( comment.strip().endswith("!") for comments in self.changed_files.values()