From d8e6dbf788074dc2910629f526396ea15ef68445 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 10 Jan 2025 14:51:25 -0800 Subject: [PATCH] docs: clarify dual purpose of /ask, /code, and /architect commands --- aider/commands.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index b5786de12..ab7b4d934 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -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):