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:
parent
3d20a4ccd2
commit
713c563765
1 changed files with 7 additions and 0 deletions
|
|
@ -36,6 +36,13 @@ export default {
|
||||||
{ id: "deepseek/deepseek-chat", name: "DeepSeek Chat" },
|
{ id: "deepseek/deepseek-chat", name: "DeepSeek Chat" },
|
||||||
{ id: "deepseek/deepseek-reasoner", name: "DeepSeek Reasoner" },
|
{ 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: {
|
oauth: {
|
||||||
apiBaseUrl: "https://api.kilo.ai",
|
apiBaseUrl: "https://api.kilo.ai",
|
||||||
initiateUrl: "https://api.kilo.ai/api/device-auth/codes",
|
initiateUrl: "https://api.kilo.ai/api/device-auth/codes",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue