aider icon indicating copy to clipboard operation
aider copied to clipboard

Use /model command for single line query to alternate model, in the same way as /code, /ask or /help

Open stefanmohl opened this issue 5 months ago • 0 comments

Issue

aider 0.86.1

The ability to temporarily, for a single prompt, run that prompt in a different mode, e.g. in /ask mode, write: /code Do that edit, and after the edit you are back in /ask mode, is very useful.

I would like to be able to use the /model command in the same way, especially with aliases, so I could do something like /model opus Can you figure out this tricky issue?, and it would be back in the old model again after the prompt response.

Unfortunately, the current /model command assumes that everything, including spaces, after the /model command is part of the model name.

Version and model info

aider 0.86.1

stefanmohl avatar Oct 05 '25 13:10 stefanmohl