OpenAI
To work with OpenAI's models, you need to provide your OpenAI API key either in the OPENAI_API_KEY
environment variable or via the --openai-api-key
command line switch.
Aider has some built in shortcuts for the most popular OpenAI models and has been tested and benchmarked to work well with them:
You can use aider --model <model-name>
to use any other OpenAI model. For example, if you want to use a specific version of GPT-4 Turbo you could do aider --model gpt-4-0125-preview
.
Last updated