From b1dbf340b811f865010778ae85260d31a37b67ba Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 1 Dec 2024 08:07:48 -0800 Subject: [PATCH] fix: correct undefined filter_func and remove unnecessary f-string --- aider/watch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/watch.py b/aider/watch.py index e53bb7829..ae6c61095 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -128,7 +128,7 @@ class FileWatcher: def watch_files(): try: for changes in watch( - str(self.root), watch_filter=filter_func, stop_event=self.stop_event + str(self.root), watch_filter=self.filter_func, stop_event=self.stop_event ): if not changes: continue @@ -171,7 +171,7 @@ class FileWatcher: if not has_bangs: return "" - self.io.tool_output(f"Processing your request...") + self.io.tool_output("Processing your request...") # Refresh all AI comments from tracked files ai_comments = {}