Skip to content

Commit

Permalink
Add comments on failure to load method
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Feb 8, 2024
1 parent 75cbe3d commit 28e64d8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ public void onResponse(ModelRegistry.UnparsedModel unparsedModel) {

@Override
public void onFailure(Exception e) {
// Do nothing - let it fail afterwards when model is retrieved
// Failure on loading a model should not prevent the rest from being loaded and used.
// When the model is actually retrieved via the inference ID in the inference process, it will fail
// and the user will get the details on the inference failure.
}
};

Expand Down

0 comments on commit 28e64d8

Please sign in to comment.