/chat-mode
Switches persistently (sticky) to any chat mode, given as an argument by name.
/chat-mode <mode> switches the active mode for all following messages, e.g. /chat-mode code or /chat-mode architect. The commands /code, /ask and /architect do the same when called without a prompt; /help without a prompt only shows the basic help and does not switch the mode.
โ WHEN TO USE IT?
Set the mode from a loaded command file
/chat-mode ask inside a file that gets read with /load, to set the mode consistently before further commands run
โ WHEN NOT TO?
Directly targeting one of the known modes
code/ask/architect have their own shorter commands with the same effect when called without a prompt.
Better: Use /code, /ask, or /architect directly
SOURCES
- Aider Docs โ In-chat commands โ aider.chat
- Aider Docs โ Chat modes โ aider.chat