You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See `.env.template` for the full list of all configurable environment variables.
@@ -224,7 +225,7 @@ Ollama requires no API key. Even with no YAML and no `OLLAMA_BASE_URL` set, an O
224
225
225
226
**Oracle requires both key and base URL.**
226
227
`ORACLE_API_KEY`alone is not enough for auto-discovery. Set `ORACLE_BASE_URL` to the Oracle OpenAI-compatible endpoint, otherwise the provider is ignored.
227
-
If your Oracle endpoint does not return a usable model list, configure `providers.<name>.models` in YAML to seed the router with explicit model IDs.
228
+
If your Oracle endpoint does not return a usable model list, set `ORACLE_MODELS` or configure `providers.<name>.models` in YAML to seed the router with explicit model IDs.
228
229
229
230
**Azure ships with a pinned API version by default.**
230
231
If you do not set `AZURE_API_VERSION`, the gateway sends `api-version=2024-10-21`. Override it only when you need a different Azure API version.
Copy file name to clipboardExpand all lines: docs/advanced/configuration.mdx
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ Set these to automatically register providers. No YAML configuration required.
143
143
|`OLLAMA_BASE_URL`| Ollama (no API key needed) |
144
144
145
145
Most providers can use a custom base URL via `<PROVIDER>_BASE_URL` (for example `OPENAI_BASE_URL`). OpenRouter defaults to `https://openrouter.ai/api/v1` and can be overridden with `OPENROUTER_BASE_URL`. Z.ai defaults to `https://api.z.ai/api/paas/v4`; set `ZAI_BASE_URL=https://api.z.ai/api/coding/paas/v4` for the GLM Coding Plan endpoint. Azure uses `AZURE_BASE_URL` for its deployment base URL and accepts an optional `AZURE_API_VERSION` override; otherwise it defaults to `2024-10-21`. Oracle requires `ORACLE_BASE_URL` because its OpenAI-compatible endpoint is region-specific.
146
-
When using Oracle, `models:` also acts as a fallback inventory if the upstream endpoint does not expose a usable `/models` response.
146
+
When using Oracle, set `ORACLE_MODELS` to a comma-separated list such as `openai.gpt-oss-120b,xai.grok-3`if the upstream endpoint does not expose a usable `/models` response. YAML `models:` remains available for custom provider names and multi-provider Oracle setups.
147
147
148
148
For OpenRouter, GoModel also sends default attribution headers unless the request already sets them. Override those defaults with `OPENROUTER_SITE_URL` and `OPENROUTER_APP_NAME`.
149
149
@@ -250,6 +250,7 @@ export AZURE_API_KEY="..." # Registers "azure" provider when paired wi
0 commit comments