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:
|
for custom_model in custom_models:
|
||||||
if custom_model.base_model_id is None:
|
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)
|
model = base_model_lookup.get(custom_model.id)
|
||||||
|
|
||||||
if model:
|
if model:
|
||||||
|
|||||||
Reference in new issue
Block a user