Kilo Code: स्थापना, API और पहला request
Kilo Code में OpenAI-compatible provider, current Model ID और अपना API Key configure कर के पहला bounded request सत्यापित करने की गाइड।
Kilo Code को API से जोड़ने के लिए पहले tool की current installation instructions, अपना API Key और current Model ID तैयार करें। Setup को Kilo Code account, extension installation और model API route में बाँटकर जाँचें; एक layer की सफलता दूसरी की गारंटी नहीं है।
BetterToken Kilo Code guide में supported OpenAI-compatible setup देखें। BetterToken model API access देता है, Kilo Code application, download, login और third-party features नहीं।
1. Kilo Code स्थापित करें
Tool vendor के current installation path का उपयोग करें और extension/app reload के बाद Kilo Code खोलें। Version को पुराने लेख से pin न करें। पहले project के बजाय test folder खोलना सुरक्षित है।
2. API Key बनाएँ
अपने BetterToken account में API Key बनाएँ। Key को prompt, repository, screenshot या support message में न डालें। यदि Kilo Code credential UI देता है तो वही उपयोग करें; shared config में केवल secret reference रखें।
3. OpenAI-compatible provider जोड़ें
Provider settings में OpenAI-compatible option चुनें, current Model ID और Base URL https://www.bettertoken.ai/v1 भरें, फिर अपनी key दें। Full resource path न जोड़ें यदि field API root चाहता है। Model ID और key group को current catalog तथा tool guide से जाँचें।
4. पहला request चलाएँ
नए test folder में छोटा prompt दें: “KILO_OK लौटाओ और files न बदलो।” Success में expected response, selected model और Dashboard में उसी समय का status/token record शामिल हैं। केवल reply मिलने से सही provider path सिद्ध नहीं होता।
सामान्य errors
401 या Unauthorized
Key, accidental spaces, selected key group और current process/credential store जाँचें; key value print न करें।
404
Base URL और provider type जाँचें। API root और full endpoint path को न मिलाएँ।
model not found
current catalog से exact Model ID लें; पुराने alias का अनुमान न लगाएँ।
Settings लागू नहीं हुई
Tool reload करें, active provider/model group देखें और फिर एक harmless request चलाएँ। कई config copies एक साथ बदलने के बजाय एक value बदलकर test करें।
Support boundary
यह test एक OpenAI-compatible model request को verify करता है, हर Kilo Code mode, extension feature, tool call या project permission को नहीं। Write actions, commands और external integrations के लिए अलग bounded test, diff review और explicit approval रखें। Dynamic models और prices setup के दिन दोबारा जाँचें।