Skip to content

Add Yolo-Auto example to Copilot CLI BYOK article - #46019

Closed
harryvgiunta wants to merge 1 commit into
github:mainfrom
harryvgiunta:docs/yolo-auto-byok
Closed

harryvgiunta wants to merge 1 commit into
github:mainfrom
harryvgiunta:docs/yolo-auto-byok

Conversation

@harryvgiunta

Copy link
Copy Markdown

Why:

Closes: #46018

What's being changed

Adds a short third-party gateway example to "Connecting to an OpenAI-compatible endpoint", right after the remote-OpenAI example. It uses the same three environment variables the section already introduces:

export COPILOT_PROVIDER_BASE_URL=https://yolo-auto.com/v1
export COPILOT_PROVIDER_API_KEY=YOUR-YOLO-AUTO-API-KEY
export COPILOT_MODEL=yolo

plus one sentence noting that yolo is the gateway's reasoning model and yolo-small its non-reasoning fast model, both support tool calling, streaming, and image inputs, the gateway enforces a 131072-token context window per plan, and COPILOT_PROVIDER_MAX_PROMPT_TOKENS can shrink the client budget.

Content-level only: no restructured steps, no new headings, keeps the existing {% data reusables.copilot.copilot-cli.start-cli %} step intact after the example.

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

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.
@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Sep 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
copilot/how-tos/copilot-cli/customize-copilot/use-byok-models.md fpt
ghec
fpt
ghec

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@subatoi

subatoi commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Closing per #46018 (comment)

@subatoi subatoi closed this Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copilot CLI BYOK article lacks a third-party gateway example

3 participants