mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
feat: Add cmd_architect method to aider/commands.py
This commit is contained in:
parent
c742642df2
commit
f38ea0c8e2
1 changed files with 4 additions and 0 deletions
|
@ -945,6 +945,10 @@ class Commands:
|
|||
"Ask for changes to your code"
|
||||
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"
|
||||
return self._generic_chat_command(args, "architect")
|
||||
|
||||
def _generic_chat_command(self, args, edit_format):
|
||||
if not args.strip():
|
||||
self.io.tool_error(f"Please provide a question or topic for the {edit_format} chat.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue