From 26698488d343171871ac9e98b0f36fdd192e9a34 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 9 Aug 2024 18:46:49 -0400 Subject: [PATCH] feat: make abs_read_only_fnames optional in get_input --- aider/io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/io.py b/aider/io.py index d3a37aaf4..e14745cf9 100644 --- a/aider/io.py +++ b/aider/io.py @@ -224,7 +224,7 @@ class InputOutput: with open(str(filename), "w", encoding=self.encoding) as f: f.write(content) - def get_input(self, root, rel_fnames, addable_rel_fnames, commands, abs_read_only_fnames): + def get_input(self, root, rel_fnames, addable_rel_fnames, commands, abs_read_only_fnames=None): if self.pretty: style = dict(style=self.user_input_color) if self.user_input_color else dict() self.console.rule(**style) @@ -251,7 +251,7 @@ class InputOutput: style = None completer_instance = AutoCompleter( - root, rel_fnames, addable_rel_fnames, commands, self.encoding, abs_read_only_fnames + root, rel_fnames, addable_rel_fnames, commands, self.encoding, abs_read_only_fnames=abs_read_only_fnames ) while True: