Shandisa AIChat ne-Shannon
Wedzera Shannon se-openai-compatible client mu-config.yaml yeAIChat, wobva wadaidzana, wawana shell help uye ma-agent paShannon models.
- Yakaedzwa 2026 Mbu 7
- OpenAI Chat Completions
- Anenge 2 min
Nezve AIChat
AIChat i-Rust binary imwechete yekudaidzana ne-ma-model mu-terminal, ine REPL, shell-command help, sessions, roles, RAG ne-agents. Inogamuchira service ipi neipi ye-OpenAI-compatible se-client, saka Shannon models dzinogona kuratidzwa nekushandiswa padivi pedzimwe.
Zvaunoda
- Shannon API key
- Makiyi nekushandiswa
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - Snippet yega yega iri pazasi inotevera sarudzo yako.
Iseta
-
Wedzera Shannon se-client
Gadzirisa
~/.config/aichat/config.yaml. Defaultmodelinonyorwa<client name>:<model id>.~/.config/aichat/config.yamlmodel: shannon:shannon-3 clients: - type: openai-compatible name: shannon api_base: https://api.shannon-ai.com/v1 api_key: YOUR_API_KEY models: - name: shannon-3 max_input_tokens: 196608 max_output_tokens: 65536 supports_function_calling: true
Ongorora kuti inoshanda
Tumira: aichat --list-models | grep shannon
Unofanira kuona: shannon:<id> mu-list.
Ma-model anokodzera AIChat
Id imwe neimwe iri pazasi inozadzisa zvinodiwa ne AIChat. Yekutanga ndiyo default mu-snippets.
| Id ye-model | Context window | Output yakakura | Kupinza mifananidzo |
|---|---|---|---|
shannon-3 | 196,608 | 65,536 | Hongu |
shannon-3-pro | 196,608 | 65,536 | Hongu |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Hongu |
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Hongu |
Zvakanaka kuziva
- Nyora Shannon id imwe neimwe pasi pe-
models; AIChat inoratidza ma-id aunonyora chete pa-openai-compatibleclient. - Key iri mu-file; chengeta
config.yamlichiverengwa newe chete. - AIChat inoratidza reasoning ye-model se-
<think>block pamberi pemhinduro, kuma-model anodzosa reasoning, sezvinoita Shannon models.
Mazano
aichat -m shannon:<id>inosarudza model ye-command imwe;.modelinochinja mukati me-REPL.aichat -e "…"inoshandura chikumbiro kuita shell command uye inobvunza isati yamhanya.aichat -s <name>inochengeta session ine zita pakati pema-run.
Kugadzirisa matambudziko
| Chiratidzo | Chikonzero | Gadziriro |
|---|---|---|
Unknown model | Model haina kunyorwa <client>:<id>, kana id haina kunyorwa pasi pe-client. | Shandisa shannon:<id> uye unyore id pasi pe-models. |
404 Not Found | api_base haina /v1. | Shandisa https://api.shannon-ai.com/v1. |
401 Unauthorized | Key haipo, yanyorwa zvisizvo kana kuti yakachinjwa. | Kopa key zvakare kubva ku-Keys & usage; inotanga ne sk-. |
context_length_exceeded / “prompt is too long” | Hurukuro yakareba kupfuura window ye-model. | Tanga chat itsva, rega tool iidimbure, kana sarudza model ine window huru. |
insufficient_quota | Balance yako haikwani kubhadhara request. | Wedzera credit kana chinja plan; request haidzokororwi yoga. |
Mibvunzo
AIChat inoshanda neShannon here?
Hongu, se-openai-compatible client ne-api_base: https://api.shannon-ai.com/v1.
AIChat inogona kushandisa Shannon models dzakawanda here?
Hongu; dzinyore pasi pe-client uye uchinje ne--m kana .model.