New --35turbo switch and docs updates

This commit is contained in:
Paul Gauthier 2024-02-28 14:05:09 -08:00
parent 7387c6fd15
commit cd434cac5a
2 changed files with 9 additions and 4 deletions

View file

@ -169,6 +169,9 @@ def main(argv=None, input=None, output=None, force_git_root=None):
) )
default_3_model = models.GPT35_0125 default_3_model = models.GPT35_0125
core_group.add_argument( core_group.add_argument(
"--35turbo",
"--35-turbo",
"--3",
"-3", "-3",
action="store_const", action="store_const",
dest="model", dest="model",

View file

@ -46,7 +46,8 @@ Aider supports all of OpenAI's chat models.
You can choose a model with the `--model` command line argument. You can choose a model with the `--model` command line argument.
You will probably get the best results with one of the GPT-4 Turbo models, You will probably get the best results with one of the GPT-4 Turbo models,
which you can use by running `aider --4turbo`. which you can use by running `aider --4turbo`
(this is a convenient shortcut for `--model gpt-4-1106-preview`).
They have large context windows, good coding skills and They have large context windows, good coding skills and
they generally obey the instructions in the system prompt. they generally obey the instructions in the system prompt.
The older `gpt-4-0613` model is a great choice if GPT-4 Turbo is having The older `gpt-4-0613` model is a great choice if GPT-4 Turbo is having
@ -65,6 +66,7 @@ can't reliably return code edits as "diffs".
Aider disables the Aider disables the
repository map repository map
when using GPT-3.5. when using GPT-3.5.
To use GPT-3.5, you can run `aider --35turbo` as a shortcut for `--model gpt-3.5-turbo-0125`.
For detailed quantitative comparisons, please see the For detailed quantitative comparisons, please see the
[aider blog](https://aider.chat/blog/) [aider blog](https://aider.chat/blog/)
@ -77,9 +79,9 @@ which contains many benchmarking articles.
To access the openrouter models simply To access the openrouter models simply
- register for an account, purchase some credits and generate an api key - register for an account, purchase some credits and generate an api key
- set --openai-api-base to https://openrouter.ai/api/v1 - set `--openai-api-base` to `https://openrouter.ai/api/v1`
- set --openai-api-key to your openrouter key - set `--openai-api-key` to your openrouter key
- set --model to the model of your choice (openai/gpt-4-32k, anthropic/claude-2 etc.) - set `--model` to the model of your choice (`openai/gpt-4-32k`, `anthropic/claude-2` etc.)
Some of the models weren't very functional and each llm has its own quirks. The anthropic models work ok, but the llama-2 ones in particular will need more work to play friendly with aider. Some of the models weren't very functional and each llm has its own quirks. The anthropic models work ok, but the llama-2 ones in particular will need more work to play friendly with aider.