mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix: formatting
This commit is contained in:
@@ -24,9 +24,7 @@
|
||||
.filter((p) =>
|
||||
(p.custom_info?.name ?? p.name).includes(prompt.split(' ')?.at(0)?.substring(1) ?? '')
|
||||
)
|
||||
.sort((a, b) =>
|
||||
(a.custom_info?.name ?? a.name).localeCompare(b.custom_info?.name ?? b.name)
|
||||
);
|
||||
.sort((a, b) => (a.custom_info?.name ?? a.name).localeCompare(b.custom_info?.name ?? b.name));
|
||||
|
||||
$: if (prompt) {
|
||||
selectedIdx = 0;
|
||||
|
||||
@@ -1247,9 +1247,7 @@
|
||||
: model.source === 'LiteLLM'
|
||||
? 'LiteLLM'
|
||||
: 'OpenAI'}: {model.name}{`${
|
||||
model.custom_info?.name
|
||||
? ' - ' + model.custom_info?.name
|
||||
: ''
|
||||
model.custom_info?.name ? ' - ' + model.custom_info?.name : ''
|
||||
}`}</option
|
||||
>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user