mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-01 15:32:11 +08:00
Merge pull request #11969 from Kilo-Org/fix/fable-routed-model
Show actually used models when using fable
This commit is contained in:
@@ -47,7 +47,7 @@ export namespace KiloRoutedModel {
|
||||
input: { providerID: ProviderID; modelID: string; selected?: string },
|
||||
) {
|
||||
if (input.providerID !== ProviderID.kilo) return undefined
|
||||
if (!input.modelID.startsWith("kilo-auto/")) return undefined
|
||||
if (!input.modelID.startsWith("kilo-auto/") && !input.modelID.includes("fable")) return undefined
|
||||
const model = read(meta, input.providerID)
|
||||
if (!model) return undefined
|
||||
if (model.modelID === input.modelID || model.modelID === input.selected) return undefined
|
||||
|
||||
Reference in New Issue
Block a user