အကြောင်းအရာသို့ ကျော်သွားရန်
Continue CLI

ကုဒ်ရေး agent များ

Continue CLI ကို Shannon ဖြင့် အသုံးပြုခြင်း

~/.continue/config.yaml တွင် Shannon ကို openai-provider model အဖြစ် ဖော်ပြပြီး cn ကို session တွင်ဖြစ်စေ headless ဖြစ်စေ Shannon model များပေါ်တွင် run ပါ။

  • 2026 နို 7 တွင် စမ်းသပ်ထားသည်
  • OpenAI Chat Completions
  • ခန့်မှန်း 3 မိနစ်

Continue CLI အကြောင်း

cn ဟု စတင်သော Continue CLI သည် Continue IDE extension ကို ဖန်တီးသော team ၏ terminal agent ဖြစ်သည်။ ဖိုင်များကိုဖတ်ပြင်ပြီး command များ run သည်၊ interactive အဖြစ်ဖြစ်စေ script နှင့် CI အတွက် -p ဖြင့် headless ဖြစ်စေ။ Continue extension နှင့် config.yaml format တူညီသဖြင့် Shannon entry တစ်ခုတည်းက နှစ်ခုလုံးကို ဆောင်ရွက်သည်။

လိုအပ်သည်များ

Shannon API key တစ်ခု
Keys & usage စာမျက်နှာ
အခြေ URL
https://api.shannon-ai.com/v1 အဆုံးမှတ်: /v1/chat/completions
အောက်ပါ နမူနာအားလုံးသည် သင့်ရွေးချယ်မှုအတိုင်း ပြောင်းလဲသည်။

သတ်မှတ်ပုံ

  1. cn ကို install လုပ်ပါ

    Shell
    npm install -g @continuedev/cli
  2. config.yaml တွင် Shannon ကို ထည့်ပါ

    ဤအရာကို ~/.continue/config.yaml တွင် ထည့်ပါ။ apiBase ပါသော provider: openai က OpenAI-compatible server မည်သည့်အရာကိုမဆို ရောက်သည်။ capabilities: [tool_use] က Continue မသိသော model ဖြင့် agent ကို tool ခေါ်စေသည်။

    ~/.continue/config.yaml
    name: Shannon
    version: 1.0.0
    schema: v1
    
    models:
      - name: Kimi-K3-uncensored-NVFP4
        provider: openai
        model: Kimi-K3-uncensored-NVFP4
        apiBase: https://api.shannon-ai.com/v1
        apiKey: ${{ secrets.SHANNON_API_KEY }}
        roles: [chat, edit, apply]
        capabilities: [tool_use, image_input]
        defaultCompletionOptions:
          contextLength: 1022976
          maxTokens: 262144
  3. Key ကို ~/.continue/.env တွင် ထည့်ပါ

    ${{ secrets.SHANNON_API_KEY }} ကို ဤဖိုင်မှ ဖတ်သဖြင့် key သည် config.yaml ထဲ မပါဝင်ပါ။

    ~/.continue/.env
    SHANNON_API_KEY=YOUR_API_KEY
  4. cn ကို run ပါ

    cn က session တစ်ခုဖွင့်သည်။ cn -p က အဖြေတစ်ခုကို print ထုတ်ပြီး ထွက်သည်။ --auto က tool အားလုံးကို မမေးဘဲ ခွင့်ပြုသည်။

    Shell
    cn -p --auto --config ~/.continue/config.yaml "Run the tests, fix what fails, then run them again."
    Shannon model shannon-coder-1 ပေါ်ရှိ headless mode တွင် Continue CLI cn- cat_feeder.py ပြင်ဆင်မှု နှစ်ခုလုံးကို သတင်းပို့ပြီး test များ အောင်မြင်သည်
    အထက်ပါ config ဖြင့် Continue CLI 1.5.47 ပေါ်ရှိ အမှန်တကယ် run- bug နှစ်ခုလုံး ပြင်ပြီး test အားလုံး အောင်မြင်သည်။

အလုပ်လုပ်ကြောင်း စစ်ဆေးပါ

ပို့ရန်: ဤ project က ဘာလုပ်သလဲ။

မြင်ရမည့်အရာ: cn က သင့်ဖိုင်များကိုဖတ်ပြီး config.yaml ထဲမှ Shannon model ဖြင့် ဖြေသည်။

Continue CLI နှင့် ကိုက်ညီသော model များ

အောက်ပါ id တိုင်းသည် Continue CLI ၏ လိုအပ်ချက်နှင့် ကိုက်ညီသည်။ ပထမ id သည် code နမူနာများတွင် default ဖြစ်သည်။

မော်ဒယ် 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 ဟုတ်

Model ဆက်တင်များ

Continue CLI က ဤတန်ဖိုးများကို တောင်းသည်။ ၎င်းတို့သည် သင်ရွေးထားသော model အပေါ် မူတည်သည်။

ဆက်တင်တန်ဖိုးအကြောင်းရင်း
contextLength 1022976 model ၏ window ဖြစ်သည်။
maxTokens 262144 အရှည်ဆုံး အဖြေ။

သိထားသင့်သည်များ

  • capabilities: [tool_use] မပါလျှင် Continue က model ကို tool မရှိသည့် model အဖြစ် သတ်မှတ်နိုင်ပြီး agent mode သည် command များ run ခြင်း သို့မဟုတ် ဖိုင်ပြင်ခြင်း မလုပ်နိုင်ပါ။
  • config.yaml တူညီသည်ကို VS Code နှင့် JetBrains အတွက် Continue extension က ဖတ်သည်။
  • ကျွန်ုပ်တို့၏ bug နှစ်ခု စမ်းသပ်မှုသည် တောင်းဆိုချက်ကိုးခု ကုန်ခဲ့သည်၊ shannon-coder-1 ဖြင့် တစ်ခုချင်းစီကို API credit မှ တိုကင်ဖြင့် ကောက်ခံသည်။

အကြံပြုချက်များ

  1. --readonly က read-only tool များပါသော plan mode ဖြင့် စတင်ပြီး repository အကြောင်း မေးရန် လုံခြုံသောနည်းလမ်း ဖြစ်သည်။
  2. --allow၊ --ask နှင့် --exclude က run တစ်ခုချင်းအတွက် tool ခွင့်ပြုချက်များကို သတ်မှတ်သည်၊ ဥပမာ --exclude Bash။
  3. --silent က -p output မှ <think> block များကို ဖယ်ထုတ်ပြီး --format json က စက်ဖတ်နိုင်သော အဖြေကို ပေးသည်။
  4. models အောက်တွင် Shannon id အများအပြားကို စာရင်းပြုစုပြီး session တွင် ၎င်းတို့ကြား ပြောင်းပါ။

ပြဿနာဖြေရှင်းခြင်း

လက္ခဏာအကြောင်းရင်းဖြေရှင်းနည်း
401 Secret ကို မတွေ့သဖြင့် key မပို့ရပါ။ ${{ secrets.SHANNON_API_KEY }} ထဲရှိ အမည်သည် ~/.continue/.env ထဲရှိ စာကြောင်းနှင့် ကိုက်ညီမှု ရှိမရှိ စစ်ပါ။
404 Not Found apiBase တွင် /v1 မပါပါ။ https://api.shannon-ai.com/v1 ကို သုံးပါ။
Agent က ပြောင်းလဲမှုများကို ဖော်ပြသော်လည်း မည်သည့်အခါမျှ မပြုလုပ်ပါ capabilities တွင် tool_use မပါပါ။ Model တွင် capabilities: [tool_use] ကို ထည့်ပါ။
401 Unauthorized Key မရှိခြင်း၊ စာလုံးပေါင်းမှားခြင်း သို့မဟုတ် လဲလှယ်ပြီးသွားခြင်း ဖြစ်သည်။ Keys & usage မှ key ကို ထပ်မံကူးယူပါ။ ၎င်းသည် sk- ဖြင့် စတင်သည်။
context_length_exceeded သို့မဟုတ် "prompt is too long" စာတို စကားပြောဆိုမှုသည် model ၏ context window ထက် ပိုရှည်နေသည်။ chat အသစ် စတင်ပါ၊ tool ကို ချုံ့ခွင့်ပေးပါ သို့မဟုတ် window ပိုကြီးသော model ကို ရွေးပါ။
insufficient_quota သင့် လက်ကျန်ငွေသည် request အတွက် ပေးချေရန် မလုံလောက်ပါ။ Top up ပြုလုပ်ပါ သို့မဟုတ် plan ပြောင်းပါ။ request ကို အလိုအလျောက် ပြန်မပို့ပါ။

မေးခွန်းများ

Continue CLI သည် Shannon နှင့် အလုပ်လုပ်ပါသလား။

လုပ်ပါသည်၊ config.yaml ထဲတွင် provider: openai နှင့် apiBase: https://api.shannon-ai.com/v1 ပါသော model ဖြင့်။

၎င်းက Continue extension ကိုလည်း setup လုပ်ပေးပါသလား။

ပေးပါသည်၊ extension သည် ~/.continue/config.yaml တူညီသည်ကို ဖတ်သည်။

သင့်ဘာသာကို ရွေးချယ်ပါ

ဘာသာအားလုံးသည် တန်းတူဖြစ်သည်။ သင်အသုံးပြုလိုသော ဘာသာကို ရွေးပါ။

ဥရောပ

အရှေ့အလယ်ပိုင်းနှင့် မြောက်အာဖရိက

တောင်အာရှ

အရှေ့တောင်အာရှ

အရှေ့အာရှ

ဗဟိုအာရှနှင့် ကော့ကေးဆပ်

အာဖရိက

သမုဒ္ဒရာဒေသ

ဖန်တီးထားသော နှင့် ဂန္ထဝင်