Skip to content

Commit 3243a1a

Browse files
committed
fix(models): count only current models in the available-models FAQ
1 parent 74e9770 commit 3243a1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/sim/app/(landing)/models/utils.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,9 +746,9 @@ export function buildProviderFaqs(provider: CatalogProvider): CatalogFaq[] {
746746
const faqs: CatalogFaq[] = [
747747
{
748748
question: `What ${provider.name} models are available in Sim?`,
749-
answer: `Sim currently tracks ${provider.modelCount} ${provider.name} model${provider.modelCount === 1 ? '' : 's'} including ${namedModels
749+
answer: `Sim currently supports ${provider.currentModels.length} ${provider.name} model${provider.currentModels.length === 1 ? '' : 's'} including ${namedModels
750750
.map((model) => model.displayName)
751-
.join(', ')}${provider.modelCount > namedModels.length ? ', and more' : ''}.`,
751+
.join(', ')}${provider.currentModels.length > namedModels.length ? ', and more' : ''}.`,
752752
},
753753
{
754754
question: `What is the default ${provider.name} model in Sim?`,

0 commit comments

Comments
 (0)