diff --git a/docs/llms.md b/docs/llms.md index f965ce251..228728ba3 100644 --- a/docs/llms.md +++ b/docs/llms.md @@ -68,7 +68,7 @@ has been tested and benchmarked to work well with them: ``` pip install aider-chat -export OPENAI_API_KEY= +export OPENAI_API_KEY= # Windows: setx OPENAI_API_KEY # GPT-4 Turbo is used by default aider @@ -99,7 +99,7 @@ has been tested and benchmarked to work well with them: ``` pip install aider-chat -export ANTHROPIC_API_KEY= +export ANTHROPIC_API_KEY= # Claude 3 Opus aider --opus @@ -125,7 +125,7 @@ You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey). ``` pip install aider-chat -export GEMINI_API_KEY= +export GEMINI_API_KEY= aider --model gemini/gemini-1.5-pro-latest # List models available from Gemini @@ -143,7 +143,7 @@ To use **Llama3 70B**: ``` pip install aider-chat -export GROQ_API_KEY= +export GROQ_API_KEY= aider --model groq/llama3-70b-8192 # List models available from Groq @@ -162,7 +162,7 @@ To use **Command-R+**: ``` pip install aider-chat -export COHERE_API_KEY= +export COHERE_API_KEY= aider --model command-r-plus # List models available from Cohere @@ -175,7 +175,7 @@ Aider can connect to the OpenAI models on Azure. ``` pip install aider-chat -export AZURE_API_KEY= +export AZURE_API_KEY= export AZURE_API_VERSION=2023-05-15 export AZURE_API_BASE=https://example-endpoint.openai.azure.com aider --model azure/ @@ -191,7 +191,7 @@ You'll need an [OpenRouter API key](https://openrouter.ai/keys). ``` pip install aider-chat -export OPENROUTER_API_KEY= +export OPENROUTER_API_KEY= # Or any other open router model aider --model openrouter// @@ -204,7 +204,7 @@ In particular, Llama3 70B works well with aider, at low cost: ``` pip install aider-chat -export OPENROUTER_API_KEY= +export OPENROUTER_API_KEY= aider --model openrouter/meta-llama/llama-3-70b-instruct ``` @@ -250,7 +250,7 @@ They appear to grant 5M tokens of free API usage to new accounts. ``` pip install aider-chat -export OPENAI_API_KEY= +export OPENAI_API_KEY= export OPENAI_API_BASE=https://api.deepseek.com/v1 aider --model openai/deepseek-coder ``` @@ -269,7 +269,7 @@ pip install aider-chat export OPENAI_API_BASE= # If your endpoint needs a key -export OPENAI_API_KEY= +export OPENAI_API_KEY= # Prefix the model name with openai/ aider --model openai/ @@ -396,12 +396,12 @@ models you use with aider. Here is an example `.env` file: ``` -OPENAI_API_KEY= -ANTHROPIC_API_KEY= -GROQ_API_KEY= -OPENROUTER_API_KEY= +OPENAI_API_KEY= +ANTHROPIC_API_KEY= +GROQ_API_KEY= +OPENROUTER_API_KEY= -AZURE_API_KEY= +AZURE_API_KEY= AZURE_API_VERSION=2023-05-15 AZURE_API_BASE=https://example-endpoint.openai.azure.com