feat: Use `model` property for displaying the `repo/model-name` naming format
This commit is contained in:
parent
6282537a8b
commit
1f0cb3ab26
|
|
@ -309,7 +309,7 @@
|
||||||
<Package class="h-3.5 w-3.5" />
|
<Package class="h-3.5 w-3.5" />
|
||||||
|
|
||||||
<span class="truncate font-medium">
|
<span class="truncate font-medium">
|
||||||
{selectedOption?.name || 'Select model'}
|
{selectedOption?.model || 'Select model'}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{#if updating}
|
{#if updating}
|
||||||
|
|
@ -367,7 +367,7 @@
|
||||||
aria-selected={currentModel === option.model || activeId === option.id}
|
aria-selected={currentModel === option.model || activeId === option.id}
|
||||||
onclick={() => handleSelect(option.id)}
|
onclick={() => handleSelect(option.id)}
|
||||||
>
|
>
|
||||||
<span class="truncate">{option.name}</span>
|
<span class="truncate">{option.model}</span>
|
||||||
</button>
|
</button>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue