mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix: playground
This commit is contained in:
parent
0c7f0f4430
commit
1fb4c60233
@ -321,12 +321,10 @@
|
|||||||
<div class="max-w-full">
|
<div class="max-w-full">
|
||||||
<Selector
|
<Selector
|
||||||
placeholder={$i18n.t('Select a model')}
|
placeholder={$i18n.t('Select a model')}
|
||||||
items={$models
|
items={$models.map((model) => ({
|
||||||
.filter((model) => model.name !== 'hr')
|
|
||||||
.map((model) => ({
|
|
||||||
value: model.id,
|
value: model.id,
|
||||||
label: model.custom_info?.name ?? model.name,
|
label: model.name,
|
||||||
info: model
|
model: model
|
||||||
}))}
|
}))}
|
||||||
bind:value={selectedModelId}
|
bind:value={selectedModelId}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user