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/v1Pito mutunga:/v1/chat/completions - Ka whai ia wāhanga waehere i raro iho i tō kōwhiringa.
Whakaritea
-
Tāutaina a Copilot CLI
Shellnpm install -g @github/copilot -
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.Shellexport 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 -
Whakahaerea a Copilot
Ka huaki te
copiloti tētahi session; ka whakahaere tecopilot -pi tētahi mahi. Ka tukuna e te--allow-allia ki te whakamahi taputapu, ara me URL me te kore pātai.Shellcopilot -p "Run the tests, fix what fails, then run them again." --allow-all
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 tauira | Matapihi horopaki | Output nui rawa | Input 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.
| Tautuhinga | Uara | He 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/modeli 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=truei te telemetry, ngā taputapu tukutuku me te whakahou aunoa; e hiahiatia ana teCOPILOT_PROVIDER_BASE_URL. - Ka whakaahua hoki ngā tuhinga a GitHub i tētahi kōnae
~/.copilot/providers.jsonmō ngā kaiwhakarato; i whakamātau mātou i ngā taurangi taiao. - Tautuhia te
COPILOT_PROVIDER_VISION=truemō tētahi model me te input whakaahua anake; ki te kore, kāore ngā whakaahua mai i ngā taputapu e tukuna.
Ngā tohutohu
- Ka huna te
--excluded-tools taski te taputapu subagent kia kotahi te tono a tētahi rere i te wā kotahi. - Ka haere tonu te
copilot --resume=<id>i tētahi rere; ka tāia te id i te mutunga. - Ka rārangi te
copilot help environmenti ia taurangi, tae atu ki teCOPILOT_PROVIDER_WIRE_API=responsesmō te API Responses. - E rima ngā tono me te āhua 76,000 token input i tō mātou whakamātautanga pārurenga-e-rua.
Te whakatika raruraru
| Tohu | Take | Whakatika |
|---|---|---|
| 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.