refactor: simplify get_ai_comments to return only line numbers and bang status

This commit is contained in:
Paul Gauthier 2024-12-01 07:49:11 -08:00 committed by Paul Gauthier (aider)
parent c56f06fbcb
commit cd922e919e

View file

@ -192,6 +192,7 @@ class FileWatcher:
dump(res)
return res
#ai don't return the comments, just line nums and has bang!
def get_ai_comments(self, filepath):
"""Extract all AI comments from a file, returning comments, line numbers and bang status"""
comments = []