This commit is contained in:
2026-07-06 00:01:34 +07:00
parent 2729408ef3
commit e7470e955e
108 changed files with 4131 additions and 529 deletions

View File

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