Merge pull request #9068 from Kilo-Org/hide-kilo-models-without-tools

fix(gateway): hide models without tool support from list
This commit is contained in:
Christiaan Arnoldus
2026-04-17 10:22:21 +02:00
committed by GitHub
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,7 @@
---
"@kilocode/kilo-gateway": patch
"@kilocode/cli": patch
"kilo-code": patch
---
Hide Kilo Gateway models that do not support tool calling from the model list.
+5
View File
@@ -118,6 +118,11 @@ export async function fetchKiloModels(options?: {
continue
}
// Skip models that don't support tools — Kilo requires tool calling
if (!model.supported_parameters?.includes("tools")) {
continue
}
const transformedModel = transformToModelDevFormat(model)
models[model.id] = transformedModel
}