mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-11 08:57:17 +00:00
fix: avoid duplicate base model removal
This commit is contained in:
parent
8faaf2cd1e
commit
d41c1d0c6d
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ async def get_all_models(request, refresh: bool = False, user: UserModel = None)
|
|||
|
||||
model['action_ids'] = action_ids
|
||||
model['filter_ids'] = filter_ids
|
||||
else:
|
||||
elif model in models:
|
||||
models.remove(model)
|
||||
|
||||
elif custom_model.is_active:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue