fix(kilocode): expose full gateway catalog in combo model picker
Add modelsFetcher + passthroughModels so the dynamic Kilo Gateway catalog surfaces in the combo model picker, matching openrouter.js. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -36,6 +36,13 @@ export default {
|
||||
{ id: "deepseek/deepseek-chat", name: "DeepSeek Chat" },
|
||||
{ id: "deepseek/deepseek-reasoner", name: "DeepSeek Reasoner" },
|
||||
],
|
||||
// Kilo Code proxies the OpenRouter catalog (334 models at time of writing),
|
||||
// so the hardcoded list above is only a fallback. Surfacing the full catalog
|
||||
// requires a fetcher + passthroughModels, matching how openrouter.js is set up.
|
||||
// Without these, only the 8 hardcoded models appear in the combo model picker,
|
||||
// hiding dynamic models like cohere/north-mini-code:free and poolside/laguna-m.1:free.
|
||||
modelsFetcher: { url: "https://api.kilo.ai/api/gateway/models", type: "openrouter-free" },
|
||||
passthroughModels: true,
|
||||
oauth: {
|
||||
apiBaseUrl: "https://api.kilo.ai",
|
||||
initiateUrl: "https://api.kilo.ai/api/device-auth/codes",
|
||||
|
||||
Reference in New Issue
Block a user