mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
fix: playground
This commit is contained in:
parent
0c7f0f4430
commit
1fb4c60233
1 changed files with 5 additions and 7 deletions
|
|
@ -321,12 +321,10 @@
|
|||
<div class="max-w-full">
|
||||
<Selector
|
||||
placeholder={$i18n.t('Select a model')}
|
||||
items={$models
|
||||
.filter((model) => model.name !== 'hr')
|
||||
.map((model) => ({
|
||||
items={$models.map((model) => ({
|
||||
value: model.id,
|
||||
label: model.custom_info?.name ?? model.name,
|
||||
info: model
|
||||
label: model.name,
|
||||
model: model
|
||||
}))}
|
||||
bind:value={selectedModelId}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue