From 713c563765ccb58fb6d94f0542b15d370744dd22 Mon Sep 17 00:00:00 2001 From: jellylarper Date: Mon, 29 Jun 2026 15:09:38 +0700 Subject: [PATCH] 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 --- open-sse/providers/registry/kilocode.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/open-sse/providers/registry/kilocode.js b/open-sse/providers/registry/kilocode.js index c259ac79..abf6af00 100644 --- a/open-sse/providers/registry/kilocode.js +++ b/open-sse/providers/registry/kilocode.js @@ -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",