From f38ea0c8e21fe72f72c7adc6cd82d56703970d2c Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 27 Sep 2024 10:25:50 -0700 Subject: [PATCH] feat: Add cmd_architect method to aider/commands.py --- aider/commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aider/commands.py b/aider/commands.py index 40daf2719..38db80c75 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -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.")