Pi Agent (pi)
Pi Agent को कस्टम OpenAI-संगत प्रदाता के माध्यम से GetVibe से जोड़ें: आधार यूआरएल, GETVIBE_API_KEY से कुंजी और gpt-6.1-sol मॉडल।
तैयार कॉन्फ़िगरेशन
अनुरोध पर हमारी सूची से तैयार किया जाता है: एपीआई का पता, हर प्रकाशित मॉडल की संदर्भ और आउटपुट सीमा, तथा अनुशंसित सेटिंग्स। इसमें कोई कुंजी नहीं है। Pi कुंजी को GETVIBE_API_KEY (models.json में $GETVIBE_API_KEY) से लेकर प्रतिस्थापित करता है। settings.json डिफ़ॉल्ट मॉडल चुनती है — यदि आपके पास यह फ़ाइल पहले से है, तो केवल इसके चार फ़ील्ड कॉपी करें।
# macOS / Linux
mkdir -p ~/.pi/agent
curl -fsSL https://getvibeapi.com/api/integrations/pi.models.json -o ~/.pi/agent/models.json
curl -fsSL https://getvibeapi.com/api/integrations/pi.settings.json -o ~/.pi/agent/settings.json# Windows PowerShell
New-Item -ItemType Directory -Force "$HOME\.pi\agent" | Out-Null
Invoke-WebRequest https://getvibeapi.com/api/integrations/pi.models.json -OutFile "$HOME\.pi\agent\models.json"
Invoke-WebRequest https://getvibeapi.com/api/integrations/pi.settings.json -OutFile "$HOME\.pi\agent\settings.json"- मुख्य मॉडल —
gpt-6.1-sol: मध्यम मूल्य पर बड़े context वाला मज़बूत agentic coder; बेयर id cross-channel failover चालू रखती है। - छोटे काम —
deepseek-v4.1-flash: 1M context वाला सबसे सस्ता सक्षम model, titles, summaries, commit messages और compaction के लिए। - Streaming on, 600-second request timeout, reasoning effort medium: एक लंबे reasoning वाले उत्तर में कई मिनट लगते हैं, और streaming के बिना यह wait limit से टकरा जाता है।
- हर जगह बिना :suffix के bare model IDs — इससे किसी स्वस्थ channel पर स्वचालित failover चालू रहता है।
Catalog बदलता रहता है: जब नए models आएँ, तो file दोबारा download करें। अगर सिर्फ़ कुछ models रखने हैं, तो URL में comma-separated IDs के साथ
?models= जोड़ें।Pi उपयोगकर्ता-परिभाषित OpenAI-संगत प्रदाताओं को ~/.pi/agent/models.json से पढ़ता है। GetVibe के लिए Chat Completions, पता https://getvibeapi.com/v1 और मॉडल gpt-6.1-sol इस्तेमाल करें।
1. एक provider जोड़ें
{
"providers": {
"getvibe": {
"baseUrl": "https://getvibeapi.com/v1",
"api": "openai-completions",
"models": [
{ "id": "gpt-6.1-sol", "name": "GPT-6.1 Sol" },
{ "id": "claude-opus-5.5", "name": "Claude Opus 5.5" },
{ "id": "deepseek-v4.1-flash", "name": "DeepSeek V4.1 Flash" },
{ "id": "kimi-k3.1-pro", "name": "Kimi K3.1 Pro" }
]
}
}
}2. key set करें और एक test चलाएँ
# GETVIBE_API_KEY must be set in your environment
pi --provider getvibe --model gpt-6.1-sol --api-key "$GETVIBE_API_KEY" "Reply with a single word: ready"key को
models.json में embed न करें: Pi इसे --api-key argument के ज़रिए स्वीकार करता है। फ़ाइल बदलने के बाद model picker दोबारा खोलें।