From 3c1660d96c9162ea145b27ab76382782b9e92f7e Mon Sep 17 00:00:00 2001 From: harryvgiunta <37885714+harryvgiunta@users.noreply.github.com> Date: Tue, 22 Sep 2026 20:27:02 -0400 Subject: [PATCH] Add Yolo-Auto example to Copilot CLI BYOK page Documents connecting to a subscription-billed OpenAI-compatible gateway with COPILOT_PROVIDER_* variables. The page already covers OpenAI and Ollama; this adds the same three variables for a third-party gateway plus capability notes. --- .../copilot-cli/customize-copilot/use-byok-models.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md b/content/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md index 815b9c6e0207..629ec4b53042 100644 --- a/content/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md +++ b/content/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md @@ -81,6 +81,16 @@ Use the following steps if you are connecting to OpenAI, Ollama, vLLM, Foundry L Replace `YOUR-OPENAI-API-KEY` with your OpenAI API key and `YOUR-MODEL-NAME` with the model you want to use (for example, `gpt-4o`). + For a third-party OpenAI-compatible gateway such as Yolo-Auto, set the same three variables with that gateway's values: + + ```shell + export COPILOT_PROVIDER_BASE_URL=https://yolo-auto.com/v1 + export COPILOT_PROVIDER_API_KEY=YOUR-YOLO-AUTO-API-KEY + export COPILOT_MODEL=yolo + ``` + + `yolo` is the gateway's reasoning model and `yolo-small` its non-reasoning fast model. Both support tool calling, streaming, and image inputs, and the gateway enforces a 131072-token context window per plan, so set `COPILOT_PROVIDER_MAX_PROMPT_TOKENS` if you run a smaller client budget. + {% data reusables.copilot.copilot-cli.start-cli %} ## Connecting to Azure OpenAI