Gafee gaa n'ọdịnaya
GitHub Copilot in VS Code

Editors na IDE extensions

Jiri GitHub Copilot in VS Code na Shannon

Tinye Shannon site n'onye na-enye ọrụ Custom Endpoint nke VS Code, models Shannon ga-apụta na chat model picker, gụnyere agent mode.

  • Site na docs GitHub Copilot in VS Code, 7 Nov 2026
  • OpenAI Chat Completions
  • Ihe dị ka nkeji 3

Banyere GitHub Copilot in VS Code

GitHub Copilot na VS Code bụ AI e wuru n'ime editọ: nchezi ka ị na-ede, chat na agent n'akụkụ koodu gị, na chat n'ahịrị maka mmezi kpọmkwem. Agent na-agụ workspace, na-edezi faịlụ, na-agba iwu terminal ma jiri MCP tools. Site n'onye na-enye ọrụ Custom Endpoint, chat na agent mode na-agba na models Shannon ị tinyere.

Ihe ị chọrọ

Shannon API key
Keys na ojiji
Base URL
https://api.shannon-ai.com/v1 Endpoint: /v1/chat/completions
Snippet ọ bụla dị n'okpuru na-agbaso nhọrọ gị.

Tọọ ya

  1. Tinye onye na-enye ọrụ Custom Endpoint

    Gbaa Chat: Manage Language Models site na Command Palette (ma ọ bụ gear dị na model picker). Họrọ Add Models → Custom Endpoint, tinye Shannon dị ka aha otu, aha ngosi na API key gị, wee họrọ ụdị API Chat Completions.

  2. Kọwaa model ahụ

    VS Code na-emeghe chatLanguageModels.json. Debe uru apiKey o dere wee kpuchie model ahụ. toolCalling ga-abụ true, ma ọ bụghị ya model ahụ ga-ezoro ezo na 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. Họrọ model na chat

    Họrọ model Shannon na model picker nke Chat view, na Ask ma ọ bụ Agent mode. Ọ bụrụ na ọ naghị egosi, malitegharịa VS Code.

Lelee na ọ na-arụ ọrụ

Zipu: Depụta faịlụ ndị dị na workspace a wee kwuo ihe nke ọ bụla na-eme.

Ihe ị ga-ahụ: Agent mode na-agụ workspace site na tools ya wee zaa na model Shannon.

Models dabara GitHub Copilot in VS Code

Id ọ bụla dị n'okpuru na-emeju ihe GitHub Copilot in VS Code chọrọ. Nke mbụ bụ default na snippets.

Model idContext windowMmepụta kachasịNtinye onyonyo
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 Ee
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Ee
MiMo-V2.6-Pro-uncensored-NVFP4 1,022,976 131,072 Ee
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Ee
shannon-3 196,608 65,536 Ee

Settings model

GitHub Copilot in VS Code na-arịọ uru ndị a. Ha na-agbaso model ị họọrọ.

NtọalaUruGịnị kpatara
contextWindow 1022976 Input na output; VS Code na-enweta oke input site na ya.
maxOutputTokens 262144 Azịza kasị ogologo.

Ihe ọ dị mma ịma

  • Na oge Local harness, models ị tinyere na-arụ ọrụ na-enweghị ịbanye GitHub na-enweghị atụmatụ Copilot. Nchezi n'ahịrị, nchọta semantic na embeddings ka chọrọ akaụntụ GitHub.
  • Na-enweghị ịbanye GitHub, aha, commit messages na ọrụ enyemaka ndị yiri ha enweghị model. Tọọ chat.byokUtilityModelDefault na Main Agent Model, ma ọ bụ chat.utilityModel na chat.utilitySmallModel na model Shannon.
  • Na Copilot Business na Enterprise, onye nchịkwa nwere ike gbanyụọ iwu Bring Your Own Language Model Key in VS Code.
  • Maka Responses API, jiri "url": "https://api.shannon-ai.com/v1/responses", "apiType": "responses" na "statefulResponses": false: Shannon anaghị echekwa azịza. Maka Anthropic Messages, https://api.shannon-ai.com/v1/messages na "apiType": "messages".
  • Iji models ndị a na oge Copilot harness chọrọ nhazi nnwale chat.agentHost.byokModels.enabled.

Ndụmọdụ

  1. Tinye iwu ọrụ na .github/copilot-instructions.md ma ọ bụ AGENTS.md; /init n'ime chat na-ede ma ọ bụ melite ha site na workspace.
  2. Pịnye # iji tinye faịlụ ma ọ bụ akara, #codebase iji chọọ koodu kwesịrị ekwesị na workspace, na #fetch iji gụọ peeji weebụ.
  3. Ctrl+Alt+I (⌃⌘I na macOS) na-emeghe Chat view na Ctrl+I (⌘I) na-emeghe chat n'ahịrị n'editọ; /models na-emeghe model picker.
  4. Njikwa context n'ebe a na-ede chat na-egosi ole akụkụ window chat na-eji; pịnye /compact iji chịkọta oge ogologo n'onwe gị.
  5. VS Code na-echekwa checkpoint nke faịlụ ndị metụtara tupu ịrịọ ọ bụla; tụgharịa n'elu arịrịọ wee họrọ Restore Checkpoint iji laghachi n'oge ahụ.

Idozi nsogbu

MgbaàmàIhe kpatara yaIdozi
Model adịghị na Agent mode toolCalling bụ false ma ọ bụ adịghị. Tọọ "toolCalling": true wee chekwaa.
Njehie Responses API gbasara tool calls tụfuru VS Code na-ezipu previous_response_id site na ndabara; Shannon anaghị edebe azịza. Tinye "statefulResponses": false na model ahụ.
Enweghị aha chat ma ọ bụ commit messages Abanyeghị GitHub, ya mere enweghị utility model. Tọọ chat.byokUtilityModelDefault ma ọ bụ chat.utilityModel na model Shannon.
401 Unauthorized Key ahụ adịghị, e dehiere ya, ma ọ bụ a gbanwere ya. Kọpịa key ahụ ọzọ site na Keys & usage; ọ na-amalite na sk-.
context_length_exceeded ma ọ bụ "prompt is too long" Mkparịta ụka ahụ dị ogologo karịa context window nke model ahụ. Malite chat ọhụrụ, hapụ tool ahụ ka o mee ya ka ọ dị mkpụmkpụ, ma ọ bụ họrọ model nwere window buru ibu.
insufficient_quota Balance gị enweghị ike ịkwụ ụgwọ request ahụ. Top up ma ọ bụ gbanwee plan; a naghị anwaghachi request ahụ n'onwe ya.

Ajụjụ

GitHub Copilot na VS Code ọ na-arụ ọrụ na Shannon?

Ee, site n'onye na-enye ọrụ Custom Endpoint nwere model url https://api.shannon-ai.com/v1/chat/completions.

Ọ dị m mkpa atụmatụ Copilot?

Mba, ọ bụghị maka chat na agent mode na oge Local harness. Nchezi n'ahịrị ka chọrọ Copilot.

A ka na-eji onye na-enye ọrụ OpenAI Compatible ochie ahụ?

Mba. Custom Endpoint dochiri ya, ma github.copilot.chat.customOAIModels abụghịzi ihe a na-akwado.

Họrọ asụsụ gị

Asụsụ niile hà nhata. Họrọ nke ị chọrọ iji.

Yurop

Etiti Ọwụwa Anyanwụ na Ugwu Africa

Ndịda Eshia

Ndịda Ọwụwa Anyanwụ Eshia

Ọwụwa Anyanwụ Eshia

Etiti Eshia na Caucasus

Afrịka

Oshenia

Ndị e mepụtara na ndị oge ochie