mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-07 08:27:05 +00:00
refac
This commit is contained in:
parent
03c6caac1f
commit
e6b00a8905
1 changed files with 1 additions and 0 deletions
|
|
@ -161,6 +161,7 @@ async def get_all_models(request, refresh: bool = False, user: UserModel = None)
|
|||
|
||||
for custom_model in custom_models:
|
||||
if custom_model.base_model_id is None:
|
||||
# Override applied directly to a base model (shares the same ID)
|
||||
model = base_model_lookup.get(custom_model.id)
|
||||
|
||||
if model:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue