refactor: Add placeholder for AI comments refresh in FileWatcher

This commit is contained in:
Paul Gauthier 2024-12-01 07:24:53 -08:00 committed by Paul Gauthier (aider)
parent 769a31b7e3
commit 69688cffd6

View file

@ -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()