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
5 changes: 5 additions & 0 deletions .changeset/filter-auto-models.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"kilo-code": patch
---

Keep unlisted Auto models in the regular provider list instead of featuring them in the Auto Models section.
11 changes: 11 additions & 0 deletions packages/kilo-vscode/tests/model-selector-accessibility.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ test("model selector exposes combobox relationships and active option movement",
"aria-label",
"Routes each request to the cheapest model that gets the job done, based on continuously benchmarked accuracy and cost.",
)
const kilo = page.getByRole("treeitem", { name: "Kilo", exact: true })
const legacy = page.getByRole("treeitem", { name: /Kilo Auto Legacy/ })
await expect(legacy).toBeVisible()
const legacyAfterKilo = await kilo.evaluate(
(group, id) => {
const model = document.getElementById(id!)
return !!model && !!(group.compareDocumentPosition(model) & Node.DOCUMENT_POSITION_FOLLOWING)
},
await legacy.getAttribute("id"),
)
expect(legacyAfterKilo).toBe(true)
await expect(page.getByRole("treeitem", { name: "Omega" })).toBeVisible()

await combobox.press("ArrowDown")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export const ModelSelectorBase: Component<ModelSelectorBaseProps> = (props) => {
}

for (const m of filtered()) {
if (isAuto(m)) {
if (isAuto(m) && m.recommendedIndex !== undefined) {
autos.push(m)
continue
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ const ACCESSIBLE_MODELS: EnrichedModel[] = [
},
autoRouting: { models: ["openai/gpt-5.5", "anthropic/claude-opus-4.6"] },
},
{
id: "kilo-auto/legacy",
name: "Kilo Auto Legacy",
providerID: "kilo",
providerName: "Kilo",
},
{ id: "omega", name: "Omega", providerID: "openai", providerName: "OpenAI", recommendedIndex: 2 },
{ id: "alpha", name: "Alpha", providerID: "kilo", providerName: "Kilo" },
{ id: "bravo", name: "Bravo", providerID: "kilo", providerName: "Kilo" },
Expand Down
Loading