add an openrouter example to AI presets docs (#2354)

This commit is contained in:
Mike Sawka 2025-09-15 16:01:49 -07:00 committed by GitHub
parent 77bbf74ef9
commit 26891718f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,6 +160,23 @@ To use Google's Gemini models from [Google AI Studio](https://aistudio.google.co
}
```
### OpenRouter
To use OpenRouter's models:
```json
{
"ai@openrouter": {
"display:name": "OpenRouter (Qwen)",
"display:order": 7,
"ai:*": true,
"ai:model": "qwen/qwen3-next-80b-a3b-thinking",
"ai:apitoken": "<openrouter-key>",
"ai:baseurl": "https://openrouter.ai/api/v1"
}
}
```
## Multiple Presets Example
You can define multiple presets in your `ai.json` file: