Skip to content

Commit 5edb35a

Browse files
committed
Make the message more descriptive
1 parent fffae5b commit 5edb35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inference/core/registries/roboflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def get_model(self, model_id: ModelID, api_key: str) -> Model:
8484
logger.debug(f"Model type: {model_type}")
8585

8686
if model_type not in self.registry_dict:
87-
raise ModelNotRecognisedError(f"Model type not supported: {model_type}")
87+
raise ModelNotRecognisedError(f"Model type not supported, you may want to try a different inference server configuration or endpoint: {model_type}")
8888
return self.registry_dict[model_type]
8989

9090

0 commit comments

Comments
 (0)