Junie CLI ကို Shannon ဖြင့် အသုံးပြုခြင်း
~/.junie/models တွင် JSON model profile ဖြင့် Shannon ကို ဖော်ပြပြီး --model custom:shannon ဖြင့် Junie ကို စတင်ပါ။
- Junie CLI စာရွက်စာတမ်းများအရ၊ 2026 နို 7
- OpenAI Chat Completions
- ခန့်မှန်း 3 မိနစ်
Junie CLI အကြောင်း
Junie CLI သည် JetBrains ၏ terminal အတွက် coding agent ဖြစ်သည်။ သင့် project ရှိ code ကို ပြန်လည်သုံးသပ်ခြင်း၊ ရေးခြင်း၊ ပြောင်းလဲခြင်း ပြုလုပ်ပေးပြီး command နှင့် test များကို run ကာ plan နှင့် debug mode များ၊ MCP server များနှင့် custom slash command များလည်း ရှိသည်။ Custom model profile က Shannon သို့ ချိတ်ပေးသဖြင့် agent loop တစ်ခုလုံးကို သင်အမည်ပေးသော Shannon model ပေါ်တွင် run နိုင်သည်။
လိုအပ်သည်များ
- Shannon API key တစ်ခု
- Keys & usage စာမျက်နှာ
- အခြေ URL
-
https://api.shannon-ai.com/v1အဆုံးမှတ်:/v1/chat/completions - အောက်ပါ နမူနာအားလုံးသည် သင့်ရွေးချယ်မှုအတိုင်း ပြောင်းလဲသည်။
သတ်မှတ်ပုံ
-
သင့် API key ကို export လုပ်ပါ
Profile က ၎င်းကို
${SHANNON_API_KEY}ဟု ရည်ညွှန်းသဖြင့် key သည် ဖိုင်ထဲ မပါဝင်ပါ။Shellexport SHANNON_API_KEY=YOUR_API_KEY -
Model profile တစ်ခု ရေးပါ
Junie သည် profile များကို
~/.junie/models/*.json(သို့မဟုတ် project ထဲရှိ.junie/models/) မှ ဖတ်သည်။ ဖိုင်အမည်သည် profile id ဖြစ်သည်။baseUrlသည် endpoint အပြည့်အစုံဖြစ်ပြီး Junie က path ထပ်မထည့်ပါ။~/.junie/models/shannon.json{ "baseUrl": "https://api.shannon-ai.com/v1/chat/completions", "id": "Kimi-K3-uncensored-NVFP4", "displayName": "Kimi-K3-uncensored-NVFP4", "providerName": "Shannon", "apiType": "OpenAICompletion", "apiKey": "${SHANNON_API_KEY}", "maxContextLength": 1022976 } -
Profile ဖြင့် Junie ကို စတင်ပါ
Custom profile များသည်
custom:prefix ယူသည်။ run နေသော session တွင်/modelက ၎င်းတို့ကို Custom tab တွင် စာရင်းပြသည်။Shelljunie --model custom:shannon
အလုပ်လုပ်ကြောင်း စစ်ဆေးပါ
ပို့ရန်: Test များကို run ပြီး မအောင်မြင်သည်များကို ပြင်ပါ။
မြင်ရမည့်အရာ: Junie က project ကိုဖတ်ပြီး ၎င်း၏ tool များဖြင့် test များကို run ကာ မအောင်မြင်သော code ကို ပြင်သည်။
Junie CLI နှင့် ကိုက်ညီသော model များ
အောက်ပါ id တိုင်းသည် Junie CLI ၏ လိုအပ်ချက်နှင့် ကိုက်ညီသည်။ ပထမ id သည် code နမူနာများတွင် default ဖြစ်သည်။
| မော်ဒယ် ID | Context အရွယ် | အများဆုံး output | ပုံ ထည့်သွင်းမှု |
|---|---|---|---|
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | ဟုတ် |
Kimi-K3.1-Pro-uncensored-NVFP4 | 1,022,976 | 262,144 | ဟုတ် |
MiMo-V2.6-Pro-uncensored-NVFP4 | 1,022,976 | 131,072 | ဟုတ် |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | ဟုတ် |
shannon-3 | 196,608 | 65,536 | ဟုတ် |
Model ဆက်တင်များ
Junie CLI က ဤတန်ဖိုးများကို တောင်းသည်။ ၎င်းတို့သည် သင်ရွေးထားသော model အပေါ် မူတည်သည်။
| ဆက်တင် | တန်ဖိုး | အကြောင်းရင်း |
|---|---|---|
maxContextLength | 1022976 | model ၏ context window ဖြစ်သည်။ |
သိထားသင့်သည်များ
- Request များသည် သင့် key ဖြင့် Shannon သို့ တိုက်ရိုက်သွားသည်။ Junie ၏ headless-mode စာမျက်နှာတွင် Junie auth token လည်း တောင်းထားသဖြင့် custom model ဖြင့် သင့် setup တွင် လိုအပ်မလိုအပ် စစ်ကြည့်ပါ။
fasterModelblock မပါလျှင် Junie သည် ၎င်း၏ အကူ task များ (အကျဉ်းချုပ်၊ အမျိုးအစားခွဲခြင်း) အတွက် model တူကိုပင် သုံးသည်။ ၎င်းတို့အတွက် အခြား Shannon model ပေးလိုလျှင်"fasterModel": { "id": "<id>" }ကို ထည့်ပါ။apiTypeသည်OpenAIResponses(https://api.shannon-ai.com/v1/responses) သို့မဟုတ်Anthropic(https://api.shannon-ai.com/v1/messages) လည်း ဖြစ်နိုင်သည်။ တစ်ခုစီသည်baseUrlတွင် endpoint အပြည့်အစုံ လိုအပ်သည်။- Project ၏
.junie/models/ထဲရှိ profile ကို commit လုပ်နိုင်သည်။ ထိုနေရာတွင် key ကို${SHANNON_API_KEY}အဖြစ်ပင် ထားပါ။
အကြံပြုချက်များ
- Junie သည် project လမ်းညွှန်ချက်များကို
.junie/AGENTS.mdမှ သို့မဟုတ် project root ရှိAGENTS.mdမှ ဖတ်သည်။~/.junie/AGENTS.mdတွင် သင့် project အားလုံးအတွက် စည်းမျဉ်းများ ထားနိုင်သည်။ --modelမပါဘဲ Shannon ဖြင့် စတင်ရန် shell profile တွင်JUNIE_MODEL=custom:shannonကို သတ်မှတ်ပါ။ command line ပေါ်ရှိ flag သည် ဦးစားပေးဆဲဖြစ်သည်။Shift+Tabသည် default၊ plan နှင့် debug mode များကြား ပြောင်းပေးသည်။/planသည် plan mode ကို ဖွင့်/ပိတ်သည်။/stats(သို့မဟုတ်/usage၊/cost) သည် session ၏ token အသုံးပြုမှုကို သင့်စုစုပေါင်းနှင့် ယှဉ်ပြသည်။junie --resumeသည် နောက်ဆုံး session ကို ဆက်လုပ်ပြီး/historyသည် ယခင် session များကို ရှာကာ ဆက်လုပ်စေသည်။
ပြဿနာဖြေရှင်းခြင်း
| လက္ခဏာ | အကြောင်းရင်း | ဖြေရှင်းနည်း |
|---|---|---|
| Profile load မလုပ်နိုင်ဘဲ ပျောက်နေသော variable တစ်ခုကို ဖော်ပြသည် | Junie ကို စတင်သော shell တွင် SHANNON_API_KEY ကို မသတ်မှတ်ထားပါ။ | ၎င်းကို export လုပ်ပါ၊ သို့မဟုတ် key ကို apiKey တွင် တိုက်ရိုက်ထည့်ပါ။ |
API မှ 404 သို့မဟုတ် 405 | baseUrl သည် /v1 တွင် ဆုံးနေသည်။ Junie က ၎င်းကို URL အပြည့်အစုံအဖြစ် သုံးသည်။ | https://api.shannon-ai.com/v1/chat/completions ကို သုံးပါ။ |
custom:shannon ကို ရှာမတွေ့ပါ | ဖိုင်သည် ~/.junie/models/ သို့မဟုတ် .junie/models/ တွင် မရှိပါ၊ သို့မဟုတ် အမည်ကွဲနေသည်။ | custom: နောက်ရှိ id သည် .json မပါသော ဖိုင်အမည်ဖြစ်သည်။ |
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 ကို အလိုအလျောက် ပြန်မပို့ပါ။ |
မေးခွန်းများ
Junie CLI သည် Shannon နှင့် အလုပ်လုပ်ပါသလား။
လုပ်ပါသည်။ apiType OpenAICompletion နှင့် baseUrl https://api.shannon-ai.com/v1/chat/completions ပါသော custom model profile ဖြင့် သုံးနိုင်သည်။
Profile ကို ကျွန်ုပ်၏ team နှင့် မျှဝေနိုင်ပါသလား။
ရပါသည်- project ၏ .junie/models/ folder ထဲ ထည့်ပြီး key ကို ${SHANNON_API_KEY} အဖြစ် ရည်ညွှန်းပါ။