diff --git a/aider/watch.py b/aider/watch.py index ba0c1b91c..51e897c98 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -135,6 +135,7 @@ def watch_source_files( result[file] = comments yield result + def get_ai_comment(filepath, encoding="utf-8"): """Extract all AI comments from a file""" comments = []