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/v1Pito mutunga:/v1/chat/completions - Ka whai ia wāhanga waehere i raro iho i tō kōwhiringa.
Whakaritea
-
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 heicustom.<alias>, ā, me whairisk_profileia kaitono e noho ana. Whakamahia teschema_versione tūmanako ana tō whakaputanga (ka kī tezeroclaw config migrate --json); ka pānui a 0.8.7 i te putanga 3.~/.zeroclaw/config.tomlschema_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 -
Tukuna te key, ā, whakahaerehia te kaitono
Ka whakarite tēnei taurangi i
providers.models.custom.shannon.api_keyi te tīmatanga, nō reira ka noho te key ki waho i te kōnae.Shellexport 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."
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 tauira | Matapihi horopaki | Output nui rawa | Input 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.
| Tautuhinga | Uara | He 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_profilekua 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 tesupervisedkia whakaae koe ki ngā mahi tūpono-waenga. - Whakaritea te
context_windowi te kōpae. I mua i tā mātou whakarite (me temax_context_tokensi 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/modelshei whakamahana i te hononga; kāore taua tono e whakamahi i te model.
Ngā tohutohu
- Ka hanga te
zeroclaw quickstarti te whirihora ōrite mā te pātai, ā, ka penapena i te key ki te toa mea ngaro a ZeroClaw. - Ka whakatepe tētahi poraka
[runtime_profiles.<alias>]me temax_tool_iterationsi te maha o ngā tono e taea ai e tētahi wā. - Herea te kaitono ki tētahi hongere hei whakamahi i te model Shannon ōrite mai i Telegram, Discord rānei.
Te whakatika raruraru
| Tohu | Take | Whakatika |
|---|---|---|
"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.