mirror of
https://github.com/open-webui/open-webui.git
synced 2026-01-03 23:25:21 +00:00
refac
This commit is contained in:
parent
a47e3b429e
commit
8892c14984
1 changed files with 4 additions and 0 deletions
|
|
@ -1454,6 +1454,10 @@
|
|||
? [atSelectedModel.id]
|
||||
: selectedModels;
|
||||
|
||||
if (selectedModelIds.filter((id) => id !== '').length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Create response messages for each selected model
|
||||
for (const [_modelIdx, modelId] of selectedModelIds.entries()) {
|
||||
const model = $models.filter((m) => m.id === modelId).at(0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue