Peke ki ngā ihirangi
Open Interpreter

Ngā kaiwhakahaere code

Whakamahia a Open Interpreter me Shannon

Tāpirihia a Shannon hei kaiwhakarato chat-completions i config.toml a Open Interpreter, ā, whakahaerea te agent i ngā model Shannon.

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

Mō Open Interpreter

Ko Open Interpreter ināianei he agent waehere mō te terminal, i hangaia anō ki Rust mai i te pūtake waehere Codex CLI, ā, e whāia ana ngā model tuwhera. Ka whakahaere whakahau shell, ka whakamahi patch, ā, ka pupuri session ka taea te haere tonu. Ko te taupānga Python tawhito o taua ingoa ōrite he kaupapa motuhake, he tawhito ake. Ka kōrero te agent hou ki tētahi endpoint Chat Completions, nō reira 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 Open Interpreter

    Ka waiho e te kaitāuta te interpreter (me te ingoa poto i) ki tō PATH. Ka tāuta te pip install open-interpreter i te taupānga Python tawhito.

    Shell
    curl -fsSL https://www.openinterpreter.com/install | sh
  2. Tāpirihia a Shannon hei kaiwhakarato model

    Waiho tēnei ki ~/.openinterpreter/config.toml. Ka kōwhiri te wire_api = "chat" i te hōputu Chat Completions; ka whakaingoatia e te env_key te taurangi e mau ana i te key.

    ~/.openinterpreter/config.toml
    model = "Kimi-K3-uncensored-NVFP4"
    model_provider = "shannon"
    model_context_window = 1022976
    
    [model_providers.shannon]
    name = "Shannon"
    base_url = "https://api.shannon-ai.com/v1"
    env_key = "SHANNON_API_KEY"
    wire_api = "chat"
  3. Tāpuatia mai te key, ā, whakahaerea

    Ka huaki te interpreter i tētahi session; ka whakahaere te interpreter exec i tētahi mahi kotahi, ā, ka puta atu.

    Shell
    export SHANNON_API_KEY=YOUR_API_KEY
    interpreter exec "Run the tests, fix what fails, then run them again."
    Open Interpreter exec i runga i te kaiwhakarato Shannon me shannon-coder-1: ka whakahaere i ngā whakamātautanga, ka whakamahi patch ki cat_feeder.py, ā, ka paahitia ngā whakamātautanga
    He rere pono i runga i Open Interpreter 0.0.59: ngā karanga shell me apply_patch, kua paahitia ngā whakamātautanga e toru katoa.

Tirohia kei te mahi

Tukuna: He aha te mahi a tēnei kaupapa?

Me kite koe i: Ka pānui a Open Interpreter i ō kōnae, ā, ka whakautu; ka whakaatu te pane i te provider: shannon.

Ngā model e hāngai ana ki Open Interpreter

Ka tutuki i ia id i raro iho ngā hiahia o Open Interpreter. 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 Open Interpreter i ēnei uara. Ka whai rātou i te model i kōwhiria e koe.

TautuhingaUaraHe aha ai
model_context_window 1022976 Te matapihi o te model.

He pai kia mōhio

  • Ka whakatūpato a Open Interpreter "Model metadata for … not found" mō ngā id Shannon ahakoa kua tautuhia te model_context_window; ka mahi tonu te rere.
  • Ka whakawhiti te --chat-completions i tētahi rere ki te hōputu Chat Completions me te kore whakatika i te config; ka mau tonu mā te wire_api = "chat".
  • Ina whakahoki te API i te 429, ka whakamātau anō a Open Interpreter i etahi wā i mua i tana tuku. Ko te 429 me te Not enough API credit te tikanga kua pau te toenga: kāore e whai hua ngā whakamātau anō kia tāpiri koe i te credit.
  • I Linux ka whakamahi te pouaka kirimana taunoa i te bubblewrap. Ki hea e puru ana ngā ingoa-mokowā kaiwhakamahi kore-motika, ka hinga ngā whakahau i roto; he tautuhinga ā-rohe tērā, ehara i te API.

Ngā tohutohu

  1. Ka whakaatu te interpreter features list i ngā āhuatanga kōwhiri. Ka pupuri te --disable multi_agent i tētahi rere ki te agent kotahi; ka tikarohia e te --disable guardian_approval te kaiarotake whakaaetanga, ka tuku i āna ake tono model.
  2. Ka whakahaere te interpreter exec --skip-git-repo-check ki waho i tētahi rokiroki git.
  3. Ka whakawhiti te /model i tētahi session i waenga i ngā kaiwhakarato me ngā model.
  4. E rima ngā tono i tō mātou whakamātautanga pārurenga-e-rua i runga i te shannon-coder-1.

Te whakatika raruraru

TohuTakeWhakatika
404 Not Found Kāore te /v1 i te base_url, he responses rānei te wire_api i tētahi URL chat. Whakamahia te https://api.shannon-ai.com/v1 me te wire_api = "chat".
401 Kāore te SHANNON_API_KEY i tautuhia i te shell e whakahaere ana i te interpreter. Tāpuatia mai, tirohia rānei te env_key.
ModuleNotFoundError: No module named 'pkg_resources' Kua tāutaina te taupānga Python tawhito (pip install open-interpreter, 0.4.x). Tāutaina te agent o nāianei mā te tuhinga i runga ake nei.
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 mahi tahi a Open Interpreter me Shannon?

Āe, hei kaiwhakarato model ritenga me wire_api = "chat" me te URL taketake https://api.shannon-ai.com/v1.

Ka taea e ia te whakamahi i te API Responses hei utu?

Ka whakaae ōna tuhinga i te wire_api = "responses", ka mahia hoki e Shannon i /v1/responses; i whakamātau mātou i te chat.

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