mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
fix(provider): remove injected kilo/auto virtual model
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user