Skip to content

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

@stefanmohl

Description

@stefanmohl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions