From 31afdd5938a6105e6b8246c861555caa84bdfe81 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Fri, 4 Sep 2026 12:34:53 +0000 Subject: [PATCH] chore: generate --- .../app/src/component/model-compare-detail.tsx | 14 +++----------- packages/stats/app/src/routes/[lab]/[model].tsx | 9 ++++----- packages/stats/app/src/routes/compare-cards.tsx | 7 +------ packages/stats/app/src/routes/index.tsx | 6 +++++- 4 files changed, 13 insertions(+), 23 deletions(-) diff --git a/packages/stats/app/src/component/model-compare-detail.tsx b/packages/stats/app/src/component/model-compare-detail.tsx index fa82ea4952..e4c2ac5cbd 100644 --- a/packages/stats/app/src/component/model-compare-detail.tsx +++ b/packages/stats/app/src/component/model-compare-detail.tsx @@ -590,9 +590,7 @@ function CompareModelDetail(props: { model: ModelCatalogEntry }) { {props.model.name}
-

- {props.model.description ?? `${props.model.name} is an AI model.`} -

+

{props.model.description ?? `${props.model.name} is an AI model.`}

@@ -888,10 +886,7 @@ function buildComparisonDetailSections(models: readonly ComparisonModel[]): Comp { title: "Overview", rows: [ - comparisonDetailRow( - "Author", - models.map(providerDetailCell), - ), + comparisonDetailRow("Author", models.map(providerDetailCell)), comparisonDetailRow( "Context length", models.map((model) => limitCell(model.catalog?.limit?.context)), @@ -910,10 +905,7 @@ function buildComparisonDetailSections(models: readonly ComparisonModel[]): Comp "Output modalities", models.map((model) => textCell(formatCatalogModalities(model.catalog?.modalities.output ?? []))), ), - comparisonDetailRow( - "Providers", - models.map(providerDetailCell), - ), + comparisonDetailRow("Providers", models.map(providerDetailCell)), ], }, { diff --git a/packages/stats/app/src/routes/[lab]/[model].tsx b/packages/stats/app/src/routes/[lab]/[model].tsx index 24cba8c083..6753afa3cb 100644 --- a/packages/stats/app/src/routes/[lab]/[model].tsx +++ b/packages/stats/app/src/routes/[lab]/[model].tsx @@ -297,10 +297,7 @@ function ModelHero(props: { / - 0} - fallback={{props.labName}} - > + 0} fallback={{props.labName}}>
    - {(peer) => } + {(peer) => ( + + )}
diff --git a/packages/stats/app/src/routes/compare-cards.tsx b/packages/stats/app/src/routes/compare-cards.tsx index 50a0a38002..7861f9b32f 100644 --- a/packages/stats/app/src/routes/compare-cards.tsx +++ b/packages/stats/app/src/routes/compare-cards.tsx @@ -151,12 +151,7 @@ function ComparisonLabLogo(props: { model: ComparisonModelRef }) { return ( - + diff --git a/packages/stats/app/src/routes/index.tsx b/packages/stats/app/src/routes/index.tsx index cb9cfe0e0a..b31df5e832 100644 --- a/packages/stats/app/src/routes/index.tsx +++ b/packages/stats/app/src/routes/index.tsx @@ -374,7 +374,11 @@ function formatUpdatedAtLabel(value: { date: string; time: string }) { return `${value.date}, ${value.time}` } -function TopModelsSection(props: { data: UsagePoint[]; leaderboard: LeaderboardEntry[]; catalogLabs: readonly string[] }) { +function TopModelsSection(props: { + data: UsagePoint[] + leaderboard: LeaderboardEntry[] + catalogLabs: readonly string[] +}) { const i18n = useI18n() const [activeModel, setActiveModel] = createSignal()