File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
apps/sim/app/(landing)/models Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,6 @@ export function formatCapabilityBoolean(
191191}
192192
193193function supportsCatalogStructuredOutputs ( capabilities : ModelCapabilities ) : boolean {
194- // In the catalog, "structured outputs" means Sim can return typed JSON for the model.
195- // `nativeStructuredOutputs` is narrower and only indicates provider-native schema support.
196194 return ! capabilities . deepResearch
197195}
198196
@@ -394,7 +392,7 @@ function buildBestForLine(model: {
394392 return 'Best for long-context retrieval, large documents, and high-memory workflows.'
395393 }
396394
397- if ( supportsCatalogStructuredOutputs ( capabilities ) ) {
395+ if ( capabilities . nativeStructuredOutputs ) {
398396 return 'Best for production workflows that need reliable typed outputs.'
399397 }
400398
@@ -429,7 +427,7 @@ function computeModelRelevanceScore(model: CatalogModel): number {
429427 ( model . capabilities . reasoningEffort ? 10 : 0 ) +
430428 ( model . capabilities . thinking ? 10 : 0 ) +
431429 ( model . capabilities . deepResearch ? 8 : 0 ) +
432- ( supportsCatalogStructuredOutputs ( model . capabilities ) ? 4 : 0 ) +
430+ ( model . capabilities . nativeStructuredOutputs ? 4 : 0 ) +
433431 ( model . contextWindow ?? 0 ) / 100000
434432 )
435433}
You can’t perform that action at this time.
0 commit comments