From 202e9ad9ce094a2724ee3cd6d4a8b3f2be4a37a1 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 28 Jan 2025 09:58:15 -0600 Subject: [PATCH] Document OPENAI_BASE_URL env var (#16195) --- docs/docs/configuration/genai.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/configuration/genai.md b/docs/docs/configuration/genai.md index 9d5f62b8c..63bc60ecb 100644 --- a/docs/docs/configuration/genai.md +++ b/docs/docs/configuration/genai.md @@ -116,6 +116,12 @@ genai: model: gpt-4o ``` +::: note + +To use a different OpenAI-compatible API endpoint, set the `OPENAI_BASE_URL` environment variable to your provider's API URL. + +::: + ## Azure OpenAI Microsoft offers several vision models through Azure OpenAI. A subscription is required.