Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions aider/website/docs/llms/openai-compat.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,28 @@ cd /to/your/project
aider --model openai/<model-name>
```

## Tuning Engines

Tuning Engines exposes an OpenAI compatible inference endpoint, so it works with
aider through the same configuration:

```
# Mac/Linux:
export OPENAI_API_BASE=https://api.tuningengines.com/v1
export OPENAI_API_KEY=sk-te-...

# Windows:
setx OPENAI_API_BASE https://api.tuningengines.com/v1
setx OPENAI_API_KEY sk-te-...
# ... restart shell after setx commands
```

Then run aider with a model alias that is enabled for your Tuning Engines key:

```bash
aider --model openai/<your-model-alias>
```

See the [model warnings](warnings.html)
section for information on warnings which will occur
when working with models that aider is not familiar with.