feat: add UI support for updating model info

This commit is contained in:
Jun Siang Cheah
2024-05-09 23:49:54 +08:00
parent 0dbddebcb0
commit 02a4412dfc
16 changed files with 336 additions and 41 deletions

View File

@@ -125,7 +125,7 @@
<option value="" disabled selected>{$i18n.t('Select a model')}</option>
{#each $models.filter((model) => model.id) as model}
<option value={model.id} class="bg-gray-100 dark:bg-gray-700"
>{model.custom_info?.displayName ?? model.name}</option
>{model.custom_info?.name ?? model.name}</option
>
{/each}
</select>