fix: extract AI comment content without prefix in file watcher

This commit is contained in:
Paul Gauthier 2024-10-25 16:10:48 -07:00 committed by Paul Gauthier (aider)
parent ec00bb988c
commit 2e5981ecb3
2 changed files with 5 additions and 2 deletions

View file

@ -376,6 +376,9 @@ class InputOutput:
root, stop_event=stop_event, gitignores=gitignore, encoding=self.encoding
):
if changed:
self.changed_files = changed
#ai move all this ...
dump(changed)
# Check if any values contain !
if any(
@ -461,6 +464,7 @@ class InputOutput:
# Check if we were interrupted by a file change
if self.changed_files:
#ai ...down to here!
changed = " ".join(self.changed_files)
self.changed_files = None