chore: generate

This commit is contained in:
opencode-agent[bot] 2026-09-04 12:34:53 +00:00
parent 4178fd74f1
commit 31afdd5938
4 changed files with 13 additions and 23 deletions

View file

@ -590,9 +590,7 @@ function CompareModelDetail(props: { model: ModelCatalogEntry }) {
<strong>{props.model.name}</strong>
</header>
<div data-slot="compare-model-modal-description">
<p>
{props.model.description ?? `${props.model.name} is an AI model.`}
</p>
<p>{props.model.description ?? `${props.model.name} is an AI model.`}</p>
<span aria-hidden="true" />
</div>
<dl data-slot="compare-model-modal-facts">
@ -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)),
],
},
{

View file

@ -297,10 +297,7 @@ function ModelHero(props: {
</a>
<Show when={hasLab()}>
<span data-slot="model-hero-separator">/</span>
<Show
when={labs().length > 0}
fallback={<span data-slot="model-hero-crumb">{props.labName}</span>}
>
<Show when={labs().length > 0} fallback={<span data-slot="model-hero-crumb">{props.labName}</span>}>
<BreadcrumbSelect
ariaLabel="Choose a lab"
label={props.labName ?? ""}
@ -1005,7 +1002,9 @@ function ModelPeersSection(props: { data: StatsModelPageData | null; catalogLabs
>
<ol data-component="model-peer-list">
<For each={props.data?.peers ?? []}>
{(peer) => <PeerRow peer={peer} active={peer.model === props.data?.model} catalogLabs={props.catalogLabs} />}
{(peer) => (
<PeerRow peer={peer} active={peer.model === props.data?.model} catalogLabs={props.catalogLabs} />
)}
</For>
</ol>
</Show>

View file

@ -151,12 +151,7 @@ function ComparisonLabLogo(props: { model: ComparisonModelRef }) {
return (
<Show when={props.model.labName}>
<span
data-slot="compare-home-avatar"
data-lab={iconId()}
data-size="small"
aria-label={props.model.labName}
>
<span data-slot="compare-home-avatar" data-lab={iconId()} data-size="small" aria-label={props.model.labName}>
<ProviderIcon aria-hidden="true" id={iconId()} />
</span>
</Show>

View file

@ -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<string>()