mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
Update packages/kilo-vscode/webview-ui/src/components/shared/model-selector-utils.ts
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
kilo-code-bot[bot]
parent
f4d4d8ed28
commit
41ef589704
@@ -2,7 +2,7 @@ import type { ModelSelection } from "../../types/messages"
|
||||
import type { EnrichedModel } from "../../context/provider"
|
||||
|
||||
export const KILO_GATEWAY_ID = "kilo"
|
||||
export const KILO_AUTO_SMALL_IDS = new Set(["kilo-auto/small", "kilo/auto-small"])
|
||||
export const KILO_AUTO_SMALL_IDS = new Set(["kilo-auto/small", "auto-small"])
|
||||
|
||||
export function isSmall(model: Pick<EnrichedModel, "providerID" | "id">): boolean {
|
||||
return model.providerID === KILO_GATEWAY_ID && KILO_AUTO_SMALL_IDS.has(model.id)
|
||||
|
||||
Reference in New Issue
Block a user