Skip to content

Commit 866f4b2

Browse files
committed
#150: give command_names in AutoCompleter a default value
1 parent 59e6c8b commit 866f4b2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

aider/io.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ def __init__(
154154
self.command_completions = dict()
155155
if commands:
156156
self.command_names = self.commands.get_commands()
157+
else:
158+
self.command_names = []
157159

158160
for rel_fname in addable_rel_fnames:
159161
self.words.add(rel_fname)

0 commit comments

Comments
 (0)