docs(examples): add github copilot byok section (cli + vs code)#12
Open
AndreaGriffiths11 wants to merge 1 commit into
Open
docs(examples): add github copilot byok section (cli + vs code)#12AndreaGriffiths11 wants to merge 1 commit into
AndreaGriffiths11 wants to merge 1 commit into
Conversation
Adds a new section under /docs/examples covering Copilot BYOK: - copilot cli: env vars (COPILOT_PROVIDER_BASE_URL, COPILOT_PROVIDER_API_KEY, COPILOT_MODEL) targeting api.nan.builders/v1. - vs code: step-by-step using the Custom Endpoint provider plus a ready-to-paste chatLanguageModels.json snippet. Notes models that satisfy Copilot's tool-calling + streaming requirement (qwen3.6, deepseek-v4-flash, mimo-v2.5). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Adds a new section under
/docs/examplesfor using NaN as a BYOK provider in GitHub Copilot CLI and VS Code.What's added
A new
<h2 id="copilot">github copilot (byok)</h2>block inserted between theqwen3.6andqwen3-embeddingmodel sections, with two subsections:copilot the three env vars (COPILOT_PROVIDER_BASE_URL,COPILOT_PROVIDER_API_KEY,COPILOT_MODEL) pluscopilot.clivs five numbered steps for the Custom Endpoint provider + a ready-to-pastechatLanguageModels.jsonsnippet.codeBoth link to upstream docs (Copilot CLI BYOK, VS Code language models).
Model recommendation
Copilot BYOK requires tool calling + streaming. The section lists
qwen3.6,deepseek-v4-flash, andmimo-v2.5as compatible (gemma4is chat-only).Verification
npm 148/148 passingtestnpx astro 0 errors, 0 warningschecknpm run successful Cloudflare Workers buildbuild