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