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",