mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-22 19:33:27 -05:00
refac
This commit is contained in:
1 parent
03c6caac1f
commit
e6b00a8905
1 file changed
+1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user