Peke ki ngā ihirangi
ZeroClaw

Ngā kaiwhakahaere whaiaro, motuhake hoki

Whakamahia a ZeroClaw me Shannon

Tāpirihia a Shannon ki config.toml a ZeroClaw hei kōpae kaiwhakarato ritenga, hoatu ki tētahi kaitono taua kōpae me tētahi tūtohu tūpono, ā, whakahaerehia.

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

Mō ZeroClaw

He wā rere kaitono iti, tere hoki a ZeroClaw i tuhia ki Rust, me ngā kaitono e herea ana ki ngā hongere kōrero, he kūwaha, ngā mahi whakaritea me ngā tūtohu tūpono mō ia kaitono. He kōpae whakaingoa ngā kaiwhakarato i config.toml; ka tango te kōpae custom i tētahi endpoint hototahi-OpenAI e ahatia, nō reira ka taea e ngā kaitono te rere i runga 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. Whakamāramahia a Shannon me tētahi kaitono

    Tuhia ~/.zeroclaw/config.toml. Kāore te kōpae kaiwhakarato e mahi mā tōna ake: ka tohu tētahi kaitono ki a ia hei custom.<alias>, ā, me whai risk_profile ia kaitono e noho ana. Whakamahia te schema_version e tūmanako ana tō whakaputanga (ka kī te zeroclaw config migrate --json); ka pānui a 0.8.7 i te putanga 3.

    ~/.zeroclaw/config.toml
    schema_version = 3
    
    [providers.models.custom.shannon]
    uri            = "https://api.shannon-ai.com/v1"
    model          = "Kimi-K3-uncensored-NVFP4"
    context_window = 1022976
    max_tokens     = 262144
    
    [agents.main]
    model_provider = "custom.shannon"
    risk_profile   = "trusted"
    
    [risk_profiles.trusted]
    level          = "full"
    workspace_only = true
  2. Tukuna te key, ā, whakahaerehia te kaitono

    Ka whakarite tēnei taurangi i providers.models.custom.shannon.api_key i te tīmatanga, nō reira ka noho te key ki waho i te kōnae.

    Shell
    export ZEROCLAW_providers__models__custom__shannon__api_key=YOUR_API_KEY
    zeroclaw agent -a main -m "Create a file hello.txt that says: the brown dog digs."
    ZeroClaw 0.8.7 i tētahi terminal: ka tuhi te kaitono main i runga i te kōpae custom Shannon i hello.txt, ā, ka kī
    He rere tūturu i runga i a ZeroClaw 0.8.7 me te whirihora i runga ake nei: kotahi te karanga taputapu, e rua ngā tono.

Tirohia kei te mahi

Tukuna: Kia ora! Ko tēhea model koe?

Me kite koe i: He whakautu mai i te model Shannon mā te kaitono main.

Ngā model e hāngai ana ki ZeroClaw

Ka tutuki i ia id i raro iho ngā hiahia o ZeroClaw. 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
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Āe
MiMo-V2.6-Pro-uncensored-NVFP4 1,022,976 131,072 Āe
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Āe
shannon-3 196,608 65,536 Āe

Ngā tautuhinga model

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

TautuhingaUaraHe aha ai
context_window 1022976 Te matapihi o te model, e whakamahia ana mō te tahua ā-rohe a ZeroClaw.
max_tokens 262144 Te whakautu roa rawa.

He pai kia mōhio

  • E whakaatu ana ngā tuhinga i te manga matua i te schema_version = 4; ka whakahē te putanga 0.8.7 i tērā me te "config schema_version 4 is newer than this binary supports (3)", ā, ka whakarere i te kōnae katoa.
  • Kāore e tīmata tētahi kaitono kāore he risk_profile kua whirihorahia: "agents.main.risk_profile does not name a configured risk_profiles entry".
  • Me te level = "full", ka rere ngā taputapu me te kore pātai; whakamahia te supervised kia whakaae koe ki ngā mahi tūpono-waenga.
  • Whakaritea te context_window i te kōpae. I mua i tā mātou whakarite (me te max_context_tokens i tētahi tāpaepae wā rere), i rahua te wā tuarua i roto i a ZeroClaw me te "This request exceeds the selected model's context window" me te kore tuku tono.
  • I te tīmatanga, ka karanga a ZeroClaw i te GET /v1/models hei whakamahana i te hononga; kāore taua tono e whakamahi i te model.

Ngā tohutohu

  1. Ka hanga te zeroclaw quickstart i te whirihora ōrite mā te pātai, ā, ka penapena i te key ki te toa mea ngaro a ZeroClaw.
  2. Ka whakatepe tētahi poraka [runtime_profiles.<alias>] me te max_tool_iterations i te maha o ngā tono e taea ai e tētahi wā.
  3. Herea te kaitono ki tētahi hongere hei whakamahi i te model Shannon ōrite mai i Telegram, Discord rānei.

Te whakatika raruraru

TohuTakeWhakatika
"config section <entire-config> … is malformed and was reset to defaults" He putanga schema, he key rānei kāore e mōhiotia e te whakaputanga. Whakahaerehia zeroclaw config migrate --json hei kite i te hapa tātari, ā, whakatikaina te kōnae.
Kāore te zeroclaw agent --agent main i whirihorahia Kāore i utaina te kōnae, nō reira kāore he [agents.main]. Whakatikaina te hapa whirihora i runga ake nei i te tuatahi.
404 Not Found Kāore te uri e whai /v1. Whakamahia https://api.shannon-ai.com/v1.
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 a ZeroClaw me Shannon?

Āe, mā te kōpae kaiwhakarato custom me te uri = "https://api.shannon-ai.com/v1".

Ka taea e ngā kaitono rerekē te whakamahi i ngā model Shannon rerekē?

Āe: tāpirihia he kōpae mō ia model, ā, tohua te model_provider a ia kaitono ki tōna kōpae.

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