Aider-AI / aider

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

How to set the sonnet as architect and deepseek as edit at the same time? #1974

Open yiouyou opened 1 week ago

yiouyou commented 1 week ago

Issue

aider --sonnet --architect

Does the upper init command use the sonnet as the editing llm by default? If we'd like to use deepseek as the editing llm, how to set it?

Thanks,

Version and model info

No response

fry69 commented 1 week ago

Thank you for filing this issue.

Does the upper init command use the sonnet as the editing llm by default?

Yes.

If we'd like to use deepseek as the editing llm, how to set it?

With a proper LiteLLM name for the editor model, e.g.

aider --sonnet --architect --editor-model deepseek/deepseek-chat

(note that deepseek-chat and deepseek-coder point to the same model now)

yiouyou commented 1 week ago

@fry69 Thanks for your reply. I think everyone would love to know after reading the blog.

fry69 commented 1 week ago

@yiouyou Sorry, I forgot to add the link from aider's website. This is of course documented here ->

https://aider.chat/docs/usage/modes.html#architect-mode-and-the-editor-model