refactor: modify get_ai_comments to return line nums, comments and has_bang

This commit is contained in:
Paul Gauthier 2024-12-01 07:54:09 -08:00 committed by Paul Gauthier (aider)
parent 1c84fc97a1
commit a64f14db51

View file

@ -196,6 +196,7 @@ class FileWatcher:
dump(res)
return res
# ai actually, have this function return the line nums, the comments and has_bang!
def get_ai_comments(self, filepath):
"""Extract AI comment line numbers and bang status from a file"""
line_nums = []