mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
parent
a47e3b429e
commit
8892c14984
@ -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 New Issue
Block a user