Aider-AI / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
21.47k stars 2k forks source link

Feature Request: Custom model aliases #2260

Open minthemiddle opened 22 hours ago

minthemiddle commented 22 hours ago

Issue

I wish there was an easy way to quickly toggle between models with custom aliases. I'm switching between Sonnet 3.5 (via Openrouter) and DeepSeek Coder during chats (Coder for 80% case, Sonnet for cleaning up and solving edge cases). I have to /model … and do the manual dance then and even with auto-completion it is quite some mental load and work. I wish I could set aliases, e.g. sonnet to mean openrouter/anthropic/claude-3.5-sonnet.

Version and model info

Aider v0.61.0

paul-gauthier commented 20 hours ago

Thanks for trying aider and filing this issue.

You can use up arrow and control-R to go back through previous commands. So you can search back for prior /model commands that you want to reuse.