Skip to content
GitHub Copilot in VS Code

Editors and IDE extensions

Use GitHub Copilot in VS Code with Shannon

Add Shannon with VS Code's Custom Endpoint provider and Shannon models appear in the chat model picker, agent mode included.

  • From the GitHub Copilot in VS Code docs, Nov 7, 2026
  • OpenAI Chat Completions
  • About 3 min

About GitHub Copilot in VS Code

GitHub Copilot in VS Code is the editor's built-in AI: suggestions as you type, a chat and agent beside your code, and inline chat for focused edits. The agent reads the workspace, edits files, runs terminal commands and uses MCP tools. With the Custom Endpoint provider, chat and agent mode run on the Shannon models you add.

What you need

A Shannon API key
Keys & usage
Base URL
https://api.shannon-ai.com/v1 Endpoint: /v1/chat/completions
Every snippet below follows your choice.

Set it up

  1. Add a Custom Endpoint provider

    Run Chat: Manage Language Models from the Command Palette (or the gear in the model picker). Select Add Models → Custom Endpoint, enter Shannon as the group name, a display name and your API key, and choose the API type Chat Completions.

  2. Describe the model

    VS Code opens chatLanguageModels.json. Keep the apiKey value it wrote and fill in the model. toolCalling must be true, or the model is hidden in agent mode.

    chatLanguageModels.json
    [
      {
        "name": "Shannon",
        "vendor": "customendpoint",
        "apiKey": "${input:shannonApiKey}",
        "apiType": "chat-completions",
        "models": [
          {
            "id": "Kimi-K3-uncensored-NVFP4",
            "name": "Kimi-K3-uncensored-NVFP4",
            "url": "https://api.shannon-ai.com/v1/chat/completions",
            "toolCalling": true,
            "vision": true,
            "contextWindow": 1022976,
            "maxOutputTokens": 262144
          }
        ]
      }
    ]
  3. Pick the model in chat

    Select the Shannon model in the Chat view's model picker, in Ask or Agent mode. If it does not show, restart VS Code.

Check that it works

Send: List the files in this workspace and say what each one does.

You should see: Agent mode reads the workspace with its tools and answers with the Shannon model.

Models that fit GitHub Copilot in VS Code

Every id below meets what GitHub Copilot in VS Code needs. The first one is the default in the snippets.

Model idContext windowMax outputImage input
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 Yes
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Yes
MiMo-V2.6-Pro-uncensored-NVFP4 1,022,976 131,072 Yes
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Yes
shannon-3 196,608 65,536 Yes

Model settings

GitHub Copilot in VS Code asks for these values. They follow the model you picked.

SettingValueWhy
contextWindow 1022976 Input plus output; VS Code derives the input limit from it.
maxOutputTokens 262144 The longest answer.

Good to know

  • In Local harness sessions, models you add work without a GitHub sign-in and without a Copilot plan. Inline suggestions, semantic search and embeddings still need a GitHub account.
  • Without a GitHub sign-in, titles, commit messages and similar utility tasks have no model. Set chat.byokUtilityModelDefault to Main Agent Model, or chat.utilityModel and chat.utilitySmallModel to a Shannon model.
  • On Copilot Business and Enterprise, the administrator can turn off the Bring Your Own Language Model Key in VS Code policy.
  • For the Responses API, use "url": "https://api.shannon-ai.com/v1/responses", "apiType": "responses" and "statefulResponses": false: Shannon does not store replies. For Anthropic Messages, https://api.shannon-ai.com/v1/messages with "apiType": "messages".
  • Using these models in Copilot harness sessions needs the experimental chat.agentHost.byokModels.enabled setting.

Tips

  1. Put project rules in .github/copilot-instructions.md or AGENTS.md; /init in a chat writes or updates them from the workspace.
  2. Type # to attach files or symbols, #codebase to search the workspace for relevant code, and #fetch to read a web page.
  3. Ctrl+Alt+I (⌃⌘I on macOS) opens the Chat view and Ctrl+I (⌘I) opens inline chat in the editor; /models opens the model picker.
  4. The context control in the chat input shows how much of the window a chat uses; type /compact to summarize a long session yourself.
  5. VS Code saves a checkpoint of the affected files before each request; hover over a request and select Restore Checkpoint to go back to that point.

Troubleshooting

SymptomCauseFix
The model is missing in Agent mode toolCalling is false or absent. Set "toolCalling": true and save.
Responses API errors about missing tool calls VS Code sends previous_response_id by default; Shannon does not keep replies. Add "statefulResponses": false to the model.
No chat titles or commit messages Not signed in to GitHub, so no utility model is available. Set chat.byokUtilityModelDefault or chat.utilityModel to the Shannon model.
401 Unauthorized The key is missing, mistyped or rotated. Copy the key again from Keys & usage; it starts with sk-.
context_length_exceeded / "prompt is too long" The conversation is longer than the model's window. Start a new chat, let the tool compact it, or pick a model with a larger window.
insufficient_quota Your balance cannot pay for the request. Top up or change plan; the request is not retried by itself.

Questions

Does GitHub Copilot in VS Code work with Shannon?

Yes, through the Custom Endpoint provider with the model url https://api.shannon-ai.com/v1/chat/completions.

Do I need a Copilot plan?

No, not for chat and agent mode in Local harness sessions. Inline suggestions still need Copilot.

Is the old OpenAI Compatible provider still used?

No. Custom Endpoint replaced it, and github.copilot.chat.customOAIModels is deprecated.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical