ናብ ትሕዝቶ ዝለል
gptel

ኤዲተራትን ናይ IDE ተወሰኽትን

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/v1 Endpoint: /v1/chat/completions
ኩሎም ኣብ ታሕቲ ዘለዉ ቁራጻት ኮድ ምርጫኻ ይስዕቡ።

ኣዳልዎ

  1. ቁልፊ ኣብ authinfo ዕቅብ

    ነባሪ ዳለዋ ቁልፊ ናይ gptel ~/.authinfo (ወይ ~/.authinfo.gpg) የንብብ፣ host ናይ backend ከም machine ከምኡውን apikey ከም login።

    ~/.authinfo
    machine api.shannon-ai.com login apikey password YOUR_API_KEY
  2. 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))))
  3. prompt ልኣኽ

    M-x gptel ቻት buffer ይኸፍት፤ ብ C-c RET ልኣኽ። ኣብ ዝኾነ ካልእ buffer፣ M-x gptel-send ጽሑፍ ክሳብ cursor፣ ወይ እቲ ዝተመርጸ ይልእኽ።

ከም ዝሰርሕ ኣረጋግጽ

ልኣኽ: ብዛዕባ ሓንቲ ድሙ ኣብ ዝናብ haiku ጸሓፍ።

ክትርኢ ዘለካ: ሰለስተ መስመራት ካብ ናይ Shannon ሞዴል ኣብ ትሕቲ prompt ናትካ ተኣትዮም።

ምስ gptel ዝሰማምዑ ሞዴላት

ነፍሲ ወከፍ ኣብ ታሕቲ ዘሎ id ነቲ gptel ዘድልዮ የማልእ። እቲ ቀዳማይ ኣብ ቁራጻት ኮድ ነባሪ እዩ።

ሞዴል idcontext መስኮትዝለዓለ 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 ኣማራጺ እዮም፤ ነፍሲ ወከፍ ሞዴል ኣብ መምረጺ ሓደ ምስ ወሰኽካ ክጽውዖም ይኽእል።

ምኽርታት

  1. M-x gptel-menu (ወይ C-u ቅድሚ gptel-send) ንbuffer ወይ ንዝቕጽል ጠለብ ሞዴል፣ system message ከምኡውን context የቐምጥ፤ ናይ Shannon ሞዴላት ከም Shannon:<id> ይርኣዩ።
  2. gptel-rewrite ኣብ ዝተመርጸ ክፋል ነቲ ውጽኢት ቅድሚ ምትግባሩ የርኢ፤ ክትደግሞ፣ ከነጻጽሮ፣ ediff ክትገብር፣ ክትሕዮ ወይ ክትቅበሎ ትኽእል።
  3. ሞዴል፣ system message ከምኡውን መሳርሒታት ብ gptel-make-preset ኣኻኽብን ካብ ሜኑ ተግብሮን።
  4. gptel መሳርሒታት ኣየምጽእን፤ ብ gptel-make-tool ግለጾም ኣብ ሜኑ ድማ ምረጾም።
  5. 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 ይልእኽ።

ቋንቋኻ ምረጽ

ኩሎም ቋንቋታት እኩላት እዮም። እቲ ትደሊ ቋንቋ ምረጽ።

ኤውሮጳ

ማእከላይ ምብራቕን ሰሜን ኣፍሪቃን

ደቡብ ኤስያ

ደቡብ ምብራቕ ኤስያ

ምብራቕ ኤስያ

ማእከላይ ኤስያን ካውካሰስን

ኣፍሪቃ

ኦሽያኒያ

ሰራሕቲን ጥንታውያንን