Peke ki ngā ihirangi
GitHub Copilot CLI

Ngā kaiwhakahaere code

Whakamahia a GitHub Copilot CLI me Shannon

Whakahaerea a GitHub Copilot CLI i ngā model Shannon mā āna taurangi bring-your-own-key; kāore he takiuru GitHub e hiahiatia ana.

  • I whakamātauria 7 Noe 2026
  • OpenAI Chat Completions
  • Tata ki te 2 meneti

Mō GitHub Copilot CLI

Ko GitHub Copilot CLI te agent a GitHub mō te terminal: ka pānui, ka whakatika i ngā kōnae, ka whakahaere whakahau, ā, ka mahi me ngā rokiroki GitHub. Ka tuku tōna aratau bring-your-own-key i ngā tono model ki tētahi endpoint hototahi-OpenAI, kaua ki ngā model a Copilot ake, ā, kāore he takiuru GitHub e hiahiatia ana. Me Shannon ka rere i ngā model Shannon.

Ngā mea e hiahiatia ana

He API key Shannon
Ngā kī me te whakamahinga
URL pūtake
https://api.shannon-ai.com/v1 Pito mutunga: /v1/chat/completions
Ka whai ia wāhanga waehere i raro iho i tō kōwhiringa.

Whakaritea

  1. Tāutaina a Copilot CLI

    Shell
    npm install -g @github/copilot
  2. Tautuhia ngā taurangi bring-your-own-key

    Ina tautuhia te COPILOT_PROVIDER_BASE_URL, ka tuku a Copilot CLI i ia tono ki taua endpoint, ā, kāore e pātai i tētahi takiuru GitHub. Whakamōhiotia ia ki ngā tepe o te model, ki te kore ka whakaaro ia ko te 128,000 ngā token prompt.

    Shell
    export COPILOT_PROVIDER_BASE_URL=https://api.shannon-ai.com/v1
    export COPILOT_PROVIDER_TYPE=openai
    export COPILOT_PROVIDER_API_KEY=YOUR_API_KEY
    export COPILOT_MODEL=Kimi-K3-uncensored-NVFP4
    export COPILOT_PROVIDER_MAX_PROMPT_TOKENS=1022976
    export COPILOT_PROVIDER_MAX_OUTPUT_TOKENS=262144
  3. Whakahaerea a Copilot

    Ka huaki te copilot i tētahi session; ka whakahaere te copilot -p i tētahi mahi. Ka tukuna e te --allow-all ia ki te whakamahi taputapu, ara me URL me te kore pātai.

    Shell
    copilot -p "Run the tests, fix what fails, then run them again." --allow-all
    GitHub Copilot CLI i te aratau bring-your-own-key i runga i shannon-coder-1: ngā hāerenga shell, pānui me te whakatika, ā, ngā whakatika e rua o cat_feeder.py
    He rere pono i runga i GitHub Copilot CLI 1.0.107 me te kore takiuru GitHub: e ono ngā hāerenga taputapu, kua paahitia ngā whakamātautanga katoa.

Tirohia kei te mahi

Tukuna: /model

Me kite koe i: Te id Shannon mai i COPILOT_MODEL.

Ngā model e hāngai ana ki GitHub Copilot CLI

Ka tutuki i ia id i raro iho ngā hiahia o GitHub Copilot CLI. Ko te tuatahi te taunoa i ngā wāhanga waehere.

Id tauiraMatapihi horopakiOutput nui rawaInput whakaahua
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 Āe
shannon-coder-1 131,072 65,536 Kāo
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Āe
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Āe
shannon-3 196,608 65,536 Āe

Ngā tautuhinga model

Ka tono a GitHub Copilot CLI i ēnei uara. Ka whai rātou i te model i kōwhiria e koe.

TautuhingaUaraHe aha ai
COPILOT_PROVIDER_MAX_PROMPT_TOKENS 1022976 Te matapihi o te model; ko te taunoa mō ngā model kāore e mōhiotia ko te 128,000.
COPILOT_PROVIDER_MAX_OUTPUT_TOKENS 262144 Te whakautu roa rawa.

He pai kia mōhio

  • Ka whakaahua hoki ngā tuhinga a Copilot CLI i te ~/.copilot/providers.json, e whakaingoatia ana ngā model hei <provider>/<id>, ā, ka whakawhiti te /model i waenga i a rātou; ko ngā taurangi i runga ake nei i whakamātauria e mātou.
  • Ka whakarerekē te bring-your-own-key i ngā tono kōrero me ngā tono taputapu a te agent. Ka hiahia tonu ngā āhuatanga GitHub pēnei i te tūmau GitHub MCP ki tētahi takiuru GitHub, kua whakaweto rānei i te aratau tuimotu.
  • Ka whakaweto hoki te COPILOT_OFFLINE=true i te telemetry, ngā taputapu tukutuku me te whakahou aunoa; e hiahiatia ana te COPILOT_PROVIDER_BASE_URL.
  • Ka whakaahua hoki ngā tuhinga a GitHub i tētahi kōnae ~/.copilot/providers.json mō ngā kaiwhakarato; i whakamātau mātou i ngā taurangi taiao.
  • Tautuhia te COPILOT_PROVIDER_VISION=true mō tētahi model me te input whakaahua anake; ki te kore, kāore ngā whakaahua mai i ngā taputapu e tukuna.

Ngā tohutohu

  1. Ka huna te --excluded-tools task i te taputapu subagent kia kotahi te tono a tētahi rere i te wā kotahi.
  2. Ka haere tonu te copilot --resume=<id> i tētahi rere; ka tāia te id i te mutunga.
  3. Ka rārangi te copilot help environment i ia taurangi, tae atu ki te COPILOT_PROVIDER_WIRE_API=responses mō te API Responses.
  4. E rima ngā tono me te āhua 76,000 token input i tō mātou whakamātautanga pārurenga-e-rua.

Te whakatika raruraru

TohuTakeWhakatika
Ka tono a Copilot kia takiuru koe Kāore te COPILOT_PROVIDER_BASE_URL i tautuhia i tēnei shell. Tāpuatia mai ngā taurangi i mua i te tīmata i te copilot.
404 Not Found Kāore te /v1 i te URL taketake. Whakamahia te https://api.shannon-ai.com/v1.
Ngā hapa horopaki i ngā session roa I whakaaro a Copilot he nui ake te matapihi i tērā o te model. Tautuhia te COPILOT_PROVIDER_MAX_PROMPT_TOKENS.
401 Unauthorized Kei te ngaro te key, kua hē te pato, kua hurihia rānei. Tāruatia anō te key mai i Keys & usage; ka tīmata ki te sk-.
context_length_exceeded, te karere "prompt is too long" rānei He roa ake te kōrero i te matapihi horopaki o te model. Tīmatahia he kōrerorero hou, tukuna te taputapu kia whakamāmā, kōwhiria rānei he model he nui ake te matapihi.
insufficient_quota Kāore e rawaka tō toenga hei utu i te tono. Tāpiri nama, huri mahere rānei; kāore te tono e ngana anō ko ia anake.

Ngā pātai

Ka taea e GitHub Copilot CLI te whakamahi i ngā model Shannon?

Āe, me āna taurangi bring-your-own-key e tohu ana ki https://api.shannon-ai.com/v1.

Me whai au i tētahi ohaoha Copilot?

Kāo mō ngā tono bring-your-own-key; i whakahaere mātou me te kore takiuru GitHub.

Kōwhiria tō reo

He ōrite ngā reo katoa. Kōwhiria te reo e hiahia ana koe ki te whakamahi.

Ūropi

Te Rāwhiti Waenga me Āwherika ki te Raki

Āhia ki te Tonga

Āhia ki te Tonga-ma-Rāwhiti

Āhia ki te Rāwhiti

Āhia Waenga me Kōkahu

Āwherika

Te Moana-nui-a-Kiwa

Reo Hanga me te Reo Tawhito