From bd3231d8ddb6a7a1124a4aeba28075b653b34271 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 1 Dec 2024 07:28:35 -0800 Subject: [PATCH] refactor: add comment about using io.read_text for AI marker detection --- aider/watch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/watch.py b/aider/watch.py index f11c97418..14f7e3f95 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -105,6 +105,7 @@ class FileWatcher: # Check if file contains AI markers try: + # ai: use io.read_text and run the regex on the file! comments = self.get_ai_comment(str(path_abs)) if self.verbose: dump(bool(comments))