Skip to content

Commit 3c1660d

Browse files
committed
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.
1 parent 6146965 commit 3c1660d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎content/copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ Use the following steps if you are connecting to OpenAI, Ollama, vLLM, Foundry L
8181

8282
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`).
8383

84+
For a third-party OpenAI-compatible gateway such as Yolo-Auto, set the same three variables with that gateway's values:
85+
86+
```shell
87+
export COPILOT_PROVIDER_BASE_URL=https://yolo-auto.com/v1
88+
export COPILOT_PROVIDER_API_KEY=YOUR-YOLO-AUTO-API-KEY
89+
export COPILOT_MODEL=yolo
90+
```
91+
92+
`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.
93+
8494
{% data reusables.copilot.copilot-cli.start-cli %}
8595

8696
## Connecting to Azure OpenAI

0 commit comments

Comments
 (0)