From 20dae33be59eae567dea8b549c4c4a6179d597c4 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 6 Dec 2024 12:15:59 -0800 Subject: [PATCH] fix: remove duplicate TreeContext parameters causing syntax error --- aider/watch.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/aider/watch.py b/aider/watch.py index 7bf92e86c..31b913d00 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -216,19 +216,6 @@ Be sure to remove all these "AI" comments from the code! # Fall back to just showing the comments if TreeContext fails for ln, comment in zip(line_nums, comments): res += f" Line {ln}: {comment}\n" - color=False, - line_number=False, - child_context=False, - last_line=False, - margin=0, - mark_lois=True, - loi_pad=3, - show_top_of_file_parent_scope=False, - ) - context.lines_of_interest = set() - context.add_lines_of_interest(lois) - context.add_context() - res += context.format() return res