diff --git a/docs/llms.md b/docs/llms.md index 453440a3d..4b626121e 100644 --- a/docs/llms.md +++ b/docs/llms.md @@ -171,8 +171,12 @@ environment variable to have aider connect to it. ``` pip install aider-chat export OPENAI_API_BASE= -export OPENAI_API_KEY= -aider --model + +# If your endpoint needs a key +export OPENAI_API_KEY= + +# Prefix the model name with openai/ +aider --model openai/ ``` See the [model warnings](#model-warnings)