feat: Add autocompletion for /ask, /code and /architect commands

This commit is contained in:
Paul Gauthier (aider) 2025-03-21 09:16:26 -07:00
parent 2f6ea2f499
commit 4e03f4165d

View file

@ -1088,6 +1088,15 @@ class Commands:
show_announcements=False,
)
def completions_ask(self):
return self.completions_add()
def completions_code(self):
return self.completions_add()
def completions_architect(self):
return self.completions_add()
def cmd_ask(self, args):
"""Ask questions about the code base without editing any files. If no prompt provided, switches to ask mode.""" # noqa
return self._generic_chat_command(args, "ask")