refactor: add comment about using io.read_text for AI marker detection

This commit is contained in:
Paul Gauthier 2024-12-01 07:28:35 -08:00 committed by Paul Gauthier (aider)
parent 4d96de3514
commit bd3231d8dd

View file

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