fix(provider): remove injected kilo/auto virtual model

This commit is contained in:
Igor Šćekić
2026-02-04 13:24:49 +01:00
parent 427bcc181f
commit 30c59a7336
+1 -21
View File
@@ -135,27 +135,7 @@ export namespace ModelsDev {
: "https://api.kilo.ai/api/openrouter"
const providerBaseURL = normalizedBaseURL ?? defaultBaseURL
const ensureTrailingSlash = (value: string): string => (value.endsWith("/") ? value : `${value}/`)
const kiloModels: Record<string, any> = await ModelCache.fetch("kilo", kiloFetchOptions).catch(() => ({}))
// Virtual model that resolves to Kilo's default model at runtime.
// Appears as `kilo/auto` in model selectors.
kiloModels["kilo/auto"] = {
id: "kilo/auto",
name: "Auto",
family: "kilo",
release_date: "2020-01-01",
attachment: false,
reasoning: true,
temperature: true,
tool_call: true,
limit: {
context: 200000,
output: 64000,
},
options: {
description: "Automatically selects an optimal model",
},
}
const kiloModels = await ModelCache.fetch("kilo", kiloFetchOptions).catch(() => ({}))
providers["kilo"] = {
id: "kilo",
name: "Kilo Gateway",