mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
feat: Add upgrade-strategy option to pip install command
This commit is contained in:
parent
1df67b0650
commit
84eca42ca8
2 changed files with 9 additions and 2 deletions
|
@ -217,7 +217,8 @@ def get_pip_install(args):
|
|||
"pip",
|
||||
"install",
|
||||
"--upgrade",
|
||||
"--upgrade-strategy only-if-needed",
|
||||
"--upgrade-strategy",
|
||||
"only-if-needed",
|
||||
]
|
||||
cmd += args
|
||||
return cmd
|
||||
|
|
|
@ -50,8 +50,14 @@ This probably makes it slower and more expensive than using code mode.
|
|||
|
||||
Architect mode is especially useful with OpenAI's o1 models, which are strong at
|
||||
reasoning but less capable at editing files.
|
||||
Using an o1 architect with an editor model like GPT-4o or Sonnet will
|
||||
Pairing an o1 architect with an editor model like GPT-4o or Sonnet will
|
||||
give the best results.
|
||||
|
||||
But architect mode is also quite helpful when you use GPT-4o or Sonnet
|
||||
at both the architect and the editor.
|
||||
Allowing the model two requests to solve the problem and edit the files
|
||||
usually provides a better result.
|
||||
|
||||
See this article on
|
||||
[aider's architect/editor mode](/2024/09/26/architect.html)
|
||||
for more details.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue