gptel ምስ Shannon ተጠቐም
Shannon ኣብ gptel ብ gptel-make-openai ከምኡውን host ናቱ ምዝግብ፣ ቁልፊ ኣብ authinfo ሓዝ፣ gptel-send፣ ቻት buffers ከምኡውን ዳግመ-ጽሑፋት ናይ Shannon ሞዴላት ይጥቀሙ።
- ካብ ሰነዳት gptel፣ 7 ሕዳ 2026
- OpenAI Chat Completions
- ኣስታት 3 ደቒቕ
ብዛዕባ gptel
gptel ክልእኽ LLM ንEmacs እዩ፦ ዝኾነ buffer ወይ ክፋል ብ gptel-send ልኣኽ፣ ዘተ ኣብ ቻት buffers ሓዝ፣ ክፋል ዳግማዊ ጸሓፍን ውጽኢት ኣነጻጽርን፣ ፋይላት ከም context ወስኽ፣ ከምኡውን ንሞዴል መሳርሒታት elisp ሃብ። ዝኾነ ምስ OpenAI ዝሰማማዕ ኣገልግሎት ከም backend ክምዝገብ ይኽእል፣ ስለዚ ናይ Shannon ሞዴላት ኣብ ኩሉ ቦታ Emacs ይሰርሑ።
እንታይ የድልየካ
- ናይ Shannon API ቁልፊ
- ቁልፍታትን ኣጠቓቕማን
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - ኩሎም ኣብ ታሕቲ ዘለዉ ቁራጻት ኮድ ምርጫኻ ይስዕቡ።
ኣዳልዎ
-
ቁልፊ ኣብ authinfo ዕቅብ
ነባሪ ዳለዋ ቁልፊ ናይ gptel
~/.authinfo(ወይ~/.authinfo.gpg) የንብብ፣ host ናይ backend ከምmachineከምኡውንapikeyከምlogin።~/.authinfomachine api.shannon-ai.com login apikey password YOUR_API_KEY -
Shannon ከም ነባሪ backend ምዝግብ
gptel-make-openaiእቲ host ብዘይhttps://ይቕበል።:key #'gptel-api-keyዳለዋ authinfo ይጥቀም፤:context-windowብኽሳዕ ሽሕታት tokens እዩ።init.el(setq gptel-model 'Kimi-K3-uncensored-NVFP4 gptel-backend (gptel-make-openai "Shannon" :host "api.shannon-ai.com" :endpoint "/v1/chat/completions" :stream t :key #'gptel-api-key :models '((Kimi-K3-uncensored-NVFP4 :capabilities (media tool-use json) :mime-types ("image/jpeg" "image/png" "image/gif" "image/webp") :context-window 1023)))) -
prompt ልኣኽ
M-x gptelቻት buffer ይኸፍት፤ ብC-c RETልኣኽ። ኣብ ዝኾነ ካልእ buffer፣M-x gptel-sendጽሑፍ ክሳብ cursor፣ ወይ እቲ ዝተመርጸ ይልእኽ።
ከም ዝሰርሕ ኣረጋግጽ
ልኣኽ: ብዛዕባ ሓንቲ ድሙ ኣብ ዝናብ haiku ጸሓፍ።
ክትርኢ ዘለካ: ሰለስተ መስመራት ካብ ናይ Shannon ሞዴል ኣብ ትሕቲ prompt ናትካ ተኣትዮም።
ምስ gptel ዝሰማምዑ ሞዴላት
ነፍሲ ወከፍ ኣብ ታሕቲ ዘሎ id ነቲ gptel ዘድልዮ የማልእ። እቲ ቀዳማይ ኣብ ቁራጻት ኮድ ነባሪ እዩ።
| ሞዴል id | context መስኮት | ዝለዓለ output | ስእሊ ኣተዋዕዎ |
|---|---|---|---|
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | እወ |
shannon-coder-1 | 131,072 | 65,536 | ኣይፋል |
Kimi-K3.1-Pro-uncensored-NVFP4 | 1,022,976 | 262,144 | እወ |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | እወ |
shannon-3 | 196,608 | 65,536 | እወ |
ቅጥዒታት ሞዴል
gptel ነዞም ዋጋታት ይሓትት። ብመሰረት ዝመረጽካዮ ሞዴል ይቕየሩ።
| ቅጥዒ | ዋጋ | ስለምንታይ |
|---|---|---|
:context-window | 1023 | እቲ window ናይ ሞዴል፣ ብሽሕታት tokens። |
ክትፈልጦ ዘለካ
- gptel ንዝኾነ host ዝተፈልየ ካብ api.openai.com Chat Completions ይጥቀም፤ Shannon ኣብ
/v1/chat/completionsየገልግሎ። - ስእልታትን ፋይላትን ናብ ሞዴል ዝበጽሑ spec ናቱ
mediaከምኡውን ዓይነታት MIME ምስ ዝዝርዝር ጥራይ እዩ። - መሳርሒታት ኣብ gptel ኣማራጺ እዮም፤ ነፍሲ ወከፍ ሞዴል ኣብ መምረጺ ሓደ ምስ ወሰኽካ ክጽውዖም ይኽእል።
ምኽርታት
M-x gptel-menu(ወይC-uቅድሚgptel-send) ንbuffer ወይ ንዝቕጽል ጠለብ ሞዴል፣ system message ከምኡውን context የቐምጥ፤ ናይ Shannon ሞዴላት ከምShannon:<id>ይርኣዩ።gptel-rewriteኣብ ዝተመርጸ ክፋል ነቲ ውጽኢት ቅድሚ ምትግባሩ የርኢ፤ ክትደግሞ፣ ከነጻጽሮ፣ ediff ክትገብር፣ ክትሕዮ ወይ ክትቅበሎ ትኽእል።- ሞዴል፣ system message ከምኡውን መሳርሒታት ብ
gptel-make-presetኣኻኽብን ካብ ሜኑ ተግብሮን። - gptel መሳርሒታት ኣየምጽእን፤ ብ
gptel-make-toolግለጾም ኣብ ሜኑ ድማ ምረጾም። gptel-log-levelናብinfoኣቐምጥን ነፍሲ ወከፍ ጠለብ ንምርኣይ buffer*gptel-log*ኣንብብን።
ጸገማት ምፍታሕ
| ምልክት | ምክንያት | ፍታሕ |
|---|---|---|
| "No `gptel-api-key' found in the auth source" | እቲ መስመር authinfo ምስ host ናይ backend ኣይሰማማዕን። | machine api.shannon-ai.com login apikey password sk-… ተጠቐም። |
| Could not resolve host | :host https:// ወይ መንገዲ ኣለዎ። | :host "api.shannon-ai.com" ተጠቐምን እቲ መንገዲ ኣብ :endpoint ኣእቱን። |
401 Unauthorized | እቲ ቁልፊ የለን፣ ብጌጋ ተጻሒፉ ወይ ተቐይሩ። | ቁልፊ ካብ ቁልፍታትን ኣጠቓቕማን ደጊምካ ቀዲሕ፤ ብ sk- ይጅምር። |
context_length_exceeded ወይ "prompt is too long" ዝብል መልእኽቲ | እቲ ዘተ ካብ context window ናይቲ ሞዴል ይነውሕ። | ሓድሽ chat ጀምር፣ ነቲ መሳለጥያ ከጥርኖ ፍቐደሉ፣ ወይ ዝዓበየ window ዘለዎ ሞዴል ምረጽ። |
insufficient_quota | ሚዛንካ ነዚ ጠለብ ንምኽፋል ኣይኣክልን። | credit ምላእ ወይ ፕላን ቀይር፤ እቲ ጠለብ ባዕሉ ደጊሙ ኣይፍተንን። |
ሕቶታት
gptel ምስ Shannon ይሰርሕ ዶ?
እወ፣ ከም backend gptel-make-openai ምስ :host "api.shannon-ai.com"።
gptel endpoint Anthropic ናይ Shannon ክጥቀም ይኽእል ዶ?
እወ፦ gptel-make-anthropic ምስ :host "api.shannon-ai.com"፤ ናብ /v1/messages ይልእኽ።