Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostModelOutputsRequest.newBuilder().setModel() doesn't work #23

Open
peterlitvak opened this issue Dec 23, 2021 · 0 comments
Open

PostModelOutputsRequest.newBuilder().setModel() doesn't work #23

peterlitvak opened this issue Dec 23, 2021 · 0 comments

Comments

@peterlitvak
Copy link

When the PostModelOutputsRequest is constructed like this:

PostModelOutputsRequest.newBuilder()
            .setModelId(model.getId())
            .setVersionId(model.getModelVersion().getId())
            .addAllInputs(inputs)
            .build()

the execution of the request works as expected, however if it is constructed like this:

PostModelOutputsRequest.newBuilder()
            .setModel(model)
            .addAllInputs(inputs)
            .build()

the request fails with Model '' doesn't exist message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant