File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111
1212def get_recommended_encoders () -> List [Any ]:
1313 recommendations = connector .request_listing_recommended_encoders ()
14- if misc .check_is_managed :
14+ if misc .check_is_managed () :
1515 existing_models = model_manager .get_model_provider_info ()
1616 else :
1717 existing_models = []
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def get_zero_shot_recommendations(
4848 project_id : Optional [str ] = None ,
4949) -> List [Dict [str , str ]]:
5050 recommendations = zs_service .get_recommended_models ()
51- if misc .check_is_managed :
51+ if misc .check_is_managed () :
5252 existing_models = model_manager .get_model_provider_info ()
5353 else :
5454 existing_models = []
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class Arguments:
1313
1414 def mutate (self , info , model_name : str ):
1515 auth .check_demo_access (info )
16- if misc .check_is_managed :
16+ if misc .check_is_managed () :
1717 if not auth .check_is_single_organization ():
1818 auth .check_admin_access (info )
1919 else :
@@ -30,7 +30,7 @@ class Arguments:
3030
3131 def mutate (self , info , model_name : str ):
3232 auth .check_demo_access (info )
33- if misc .check_is_managed :
33+ if misc .check_is_managed () :
3434 if not auth .check_is_single_organization ():
3535 auth .check_admin_access (info )
3636 else :
You can’t perform that action at this time.
0 commit comments