mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-19 09:15:04 +02:00
ui : add raw model id tooltip to model selector options
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user