ui : add raw model id tooltip to model selector options

This commit is contained in:
Aleksander Grygier
2026-08-15 23:26:25 +02:00
parent 3f7e6974d7
commit fb20f31a47
2 changed files with 3 additions and 1 deletions
@@ -39,6 +39,7 @@
modelId,
showRaw = undefined,
showRawTooltip = false,
supportsThinking = false,
tags,
...rest
}: Props = $props();
@@ -128,7 +129,7 @@
{@render nameAndBadges()}
{/if}
{#if activeCapabilities.length > 0 || activeModalities.length > 0}
{#if hasModalityIcons}
<span class="inline-flex items-center gap-1.25 text-muted-foreground">
{#each activeCapabilities as capability (capability)}
{@const CapabilityIcon = CAPABILITY_ICONS[capability]}
@@ -90,6 +90,7 @@
{hideOrgName}
{modalities}
modelId={option.model}
{supportsThinking}
showRawTooltip
tags={option.tags}
/>