mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
docs: clarify dual purpose of /ask, /code, and /architect commands
This commit is contained in:
parent
7ea69ae4b4
commit
d8e6dbf788
1 changed files with 6 additions and 3 deletions
|
@ -1061,15 +1061,18 @@ class Commands:
|
|||
)
|
||||
|
||||
def cmd_ask(self, args):
|
||||
"Ask questions about the code base without editing any files"
|
||||
"""Ask questions about the code base without editing any files.
|
||||
If no prompt is provided, switches to ask mode."""
|
||||
return self._generic_chat_command(args, "ask")
|
||||
|
||||
def cmd_code(self, args):
|
||||
"Ask for changes to your code"
|
||||
"""Ask for changes to your code.
|
||||
If no prompt is provided, switches to code mode."""
|
||||
return self._generic_chat_command(args, self.coder.main_model.edit_format)
|
||||
|
||||
def cmd_architect(self, args):
|
||||
"Enter architect mode to discuss high-level design and architecture"
|
||||
"""Enter architect mode to discuss high-level design and architecture.
|
||||
If no prompt is provided, switches to architect mode."""
|
||||
return self._generic_chat_command(args, "architect")
|
||||
|
||||
def _generic_chat_command(self, args, edit_format):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue