Shannon සමඟ Junie CLI භාවිත කරන්න
~/.junie/models හි JSON model profile එකක Shannon විස්තර කර Junie --model custom:shannon සමඟ ආරම්භ කරන්න.
- Junie CLI ලේඛනවලින්, 2026 ඉල් 7
- OpenAI Chat Completions
- මිනිත්තු 3 ක් පමණ
Junie CLI ගැන
Junie CLI යනු JetBrains හි terminal සඳහා coding agent එකයි. එය ඔබේ project එකේ code සමාලෝචනය කරයි, ලියයි, වෙනස් කරයි, commands සහ tests ධාවනය කරයි; plan සහ debug modes, MCP servers සහ custom slash commands ද ඇත. Custom model profile එකක් එය Shannon වෙත යොමු කරන නිසා, සම්පූර්ණ agent loop එකම ඔබ නම් කරන Shannon model එක මත ධාවනය වේ.
ඔබට අවශ්ය දේ
- Shannon API key එකක්
- යතුරු සහ භාවිතය
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - පහත සියලු code උදාහරණ ඔබේ තේරීම අනුගමනය කරයි.
සකසන්න
-
ඔබේ API key එක export කරන්න
Profile එක එය
${SHANNON_API_KEY}ලෙස සඳහන් කරන නිසා key එක file එකෙන් පිටත පවතී.Shellexport SHANNON_API_KEY=YOUR_API_KEY -
Model profile එකක් ලියන්න
Junie profiles කියවන්නේ
~/.junie/models/*.jsonවෙතින් (නැතහොත් project එකක.junie/models/වෙතින්); file නම 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 profiles වලට
custom:prefix එක යෙදේ. ධාවනය වන සැසියක/modelමගින් ඒවා Custom tab එකේ ලැයිස්තුගත කරයි.Shelljunie --model custom:shannon
එය ක්රියා කරන බව පරීක්ෂා කරන්න
යවන්න: Tests ධාවනය කර අසාර්ථක වන ඒවා නිවැරදි කරන්න.
ඔබට පෙනිය යුත්තේ: Junie project එක කියවා, එහි tools මගින් tests ධාවනය කර, අසාර්ථක වන code එක සංස්කරණය කරයි.
Junie CLI සඳහා ගැළපෙන model
පහත සෑම id එකක්ම Junie CLI ට අවශ්ය දේ සපුරයි. පළමු එක code උදාහරණවල පෙරනිමියයි.
| Model ID | සන්දර්භ කවුළුව | උපරිම 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 එක. |
දැනගත යුතු දේ
- ඉල්ලීම් ඔබේ key එකෙන් කෙළින්ම Shannon වෙත යයි. Junie හි headless-mode පිටුව Junie auth token එකක්ද ඉල්ලයි; custom model එකක් සමඟ ඔබේ සැකසුමට එකක් අවශ්ය දැයි පරීක්ෂා කරන්න.
fasterModelblock එකක් නැතිව, Junie එහි උපකාරක කාර්යයන් (සාරාංශ, වර්ගීකරණය) සඳහා එම model එකම භාවිතා කරයි. ඒවාට වෙනත් Shannon model එකක් දීමට"fasterModel": { "id": "<id>" }එකතු කරන්න.apiTypeOpenAIResponses(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ඔබේ සියලු projects සඳහා නීති තබා ගනී. --modelනොමැතිව Shannon මත ආරම්භ කිරීමට ඔබේ shell profile එකේJUNIE_MODEL=custom:shannonසකසන්න; command line එකේ flag එකකට තවමත් ප්රමුඛතාව ඇත.Shift+Tabමගින් default, plan සහ debug modes අතර මාරු වේ;/planමගින් plan mode on සහ off කරයි./stats(/usageහෝ/costද) මගින් සැසියේ token භාවිතය ඔබේ සමස්ත එකතු සමඟ පෙන්වයි.junie --resumeඅවසාන සැසිය නැවත අරඹයි,/historyමගින් පැරණි සැසි සොයා ඒවායින් එකක් නැවත ආරම්භ කළ හැක.
ගැටලු නිරාකරණය
| රෝග ලක්ෂණය | හේතුව | විසඳුම |
|---|---|---|
| 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 හමු නොවේ | File එක ~/.junie/models/ හෝ .junie/models/ හි නැත, නැතහොත් එයට වෙනත් නමක් ඇත. | custom: පසු id එක .json නැති file නමයි. |
401 Unauthorized | Key එක නැත, වැරදියට ටයිප් කර ඇත, නැතහොත් මාරු කර ඇත. | යතුරු සහ භාවිතය වෙතින් key එක නැවත පිටපත් කරන්න; එය sk- වලින් ආරම්භ වේ. |
context_length_exceeded / “prompt එක දිග වැඩියි” | සංවාදය model එකේ context window එකට වඩා දිගය. | නව chat එකක් අරඹන්න, මෙවලමට එය සම්පීඩනය කිරීමට ඉඩ දෙන්න, නැතහොත් විශාල context window එකක් ඇති model එකක් තෝරන්න. |
insufficient_quota | ඔබේ ශේෂය ඉල්ලීමේ ගාස්තුවට ප්රමාණවත් නොවේ. | Credit එකතු කරන්න හෝ සැලසුම වෙනස් කරන්න; ඉල්ලීම ඉබේම නැවත උත්සාහ නොකෙරේ. |
ප්රශ්න
Junie CLI Shannon සමඟ ක්රියා කරයිද?
ඔව්, apiType OpenAICompletion සහ baseUrl https://api.shannon-ai.com/v1/chat/completions සහිත custom model profile එකක් හරහා.
මට profile එක මගේ කණ්ඩායම සමඟ බෙදා ගත හැකිද?
ඔව්: එය project එකේ .junie/models/ folder එකේ දමා key එක ${SHANNON_API_KEY} ලෙස සඳහන් කරන්න.