pull/6481/head
Aiden Cline 2025-12-30 16:32:22 -06:00
parent c460a7d957
commit 2afb05fd15
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ export const { use: useLocal, provider: LocalProvider } = createSimpleContext({
const provider = sync.data.provider.find((x) => x.id === m.providerID)
const info = provider?.models[m.modelID]
if (!info?.variants) return []
return Object.entries(info.variants).map(([name]) => name)
return Object.keys(info.variants)
},
set(value: string | undefined) {
const m = currentModel()