mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
feat: Add autocompletion for /ask, /code and /architect commands
This commit is contained in:
parent
2f6ea2f499
commit
4e03f4165d
1 changed files with 9 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue