OpenCode
סוכן הטרמינל בקוד פתוח, דרך ה-provider התואם ל-OpenAI.
1/5
להתקין את ה-CLI של NotHoly
קובץ בינארי אחד ל-macOS, Linux ו-Windows. הסקריפט בודק את ה-checksum מסוג SHA-256, ו-notholy --version מאשר שהפקודה נמצאת ב-PATH.
curl -fsSL https://notholy.com/install.sh | sh notholy --version2/5
להתחבר
notholy login מציג קוד ופותח את notholy.com/activate. מאשרים שם את הקוד, והמפתח נשמר ב-keychain של המערכת.
shellnotholy login3/5
להריץ על NotHoly
השורה הראשונה מתקינה את הכלי עם npm. אם הוא כבר מותקן, מדלגים עליה. אחר כך notholy run מפעיל אותו על NotHoly בתהליך הזה בלבד, והקונפיגורציה הגלובלית נשארת כמו שהייתה.
shellnpm i -g @opencode/cli notholy run opencode4/5
או להגדיר ידנית
אותה הגדרה, כתובה ביד. יש להחליף את ה-placeholder במפתח שלך.
~/.config/opencode/opencode.json// ~/.config/opencode/opencode.json { "$schema": "https://opencode.ai/config.json", "model": "notholy/notholy-wisp", "providers": { "notholy": { "name": "NotHoly", "env": ["NOTHOLY_API_KEY"], "package": "@opencode/ai/providers/openai-compatible", "settings": { "baseURL": "https://api.notholy.com/v1" }, "models": { "notholy-specter": {"name": "Specter", "capabilities": {"tools": true, "input": ["text"], "output": ["text"], "reasoning": {"supported": true, "effort": ["low", "high", "max"]}}, "limit": {"context": 1048576, "output": 131072}}, "notholy-pulse": {"name": "Pulse Flash", "capabilities": {"tools": true, "input": ["text", "image"], "output": ["text"], "reasoning": {"supported": true, "effort": ["low", "high", "max"]}}, "limit": {"context": 1048576, "output": 131072}}, "notholy-vector": {"name": "Vector Flash 1017", "capabilities": {"tools": true, "input": ["text", "image"], "output": ["text"], "reasoning": {"supported": true, "effort": ["off", "low", "high", "max"]}}, "limit": {"context": 1048576, "output": 131072}}, "notholy-wisp": {"name": "Wisp Flash", "capabilities": {"tools": true, "input": ["text", "image"], "output": ["text"], "reasoning": {"supported": true, "effort": ["off", "low", "high", "max"]}}, "limit": {"context": 1048576, "output": 131072}} } } } }5/5
לבדוק שזה עובד
notholy doctor בודק את החשבון, הרשת, הסטרימינג והקריאות לכלים.
shellnotholy doctor
שאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים החל מ-$5 ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי, החל מ-$5. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login