chore: format

This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-27 00:12:47 -04:00
1 parent e53ff57fb5
commit 20647bd2d5
20 files changed
+67 -70

No files matched your search

@@ -378,9 +378,7 @@ async def check_model_access(
raise HTTPException(status_code=403, detail='Model not found')
# Enforce access on chained base models
if not await has_base_model_access(
user.id, model_info, user_role=user.role, user_group_ids=user_group_ids
):
if not await has_base_model_access(user.id, model_info, user_role=user.role, user_group_ids=user_group_ids):
raise HTTPException(status_code=403, detail='Model not found')
else:
if user.role != 'admin':