mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
feat: allow /ask, /code, /architect without args to switch modes
This commit is contained in:
parent
cbedf3f8cc
commit
1a84c109fc
1 changed files with 2 additions and 2 deletions
|
@ -1074,8 +1074,8 @@ class Commands:
|
|||
|
||||
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.")
|
||||
return
|
||||
# Switch to the corresponding chat mode if no args provided
|
||||
return self.cmd_chat_mode(edit_format)
|
||||
|
||||
from aider.coders.base_coder import Coder
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue