Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/filter-kilo-models-without-tools.md
Original file line number Diff line number Diff line change
@@ -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 changes: 5 additions & 0 deletions packages/kilo-gateway/src/api/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
Loading