Skip to content

Commit

Permalink
fix(model): fix wrong version and add missing grpc endpoint (#236)
Browse files Browse the repository at this point in the history
Because

- wrong model endpoint version
- missing grpc endpoint

This commit

- fix wrong version and add missing grpc endpoint
  • Loading branch information
heiruwu authored Aug 19, 2024
1 parent 2d11f99 commit 78cb564
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions config/settings-env/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -1913,8 +1913,8 @@
"input_query_strings": []
},
{
"endpoint": "/v1beta/namespaces/{namespace_id}/models/{model_id}/runs",
"url_pattern": "/v1beta/namespaces/{namespace_id}/models/{model_id}/runs",
"endpoint": "/v1alpha/namespaces/{namespace_id}/models/{model_id}/runs",
"url_pattern": "/v1alpha/namespaces/{namespace_id}/models/{model_id}/runs",
"method": "GET",
"timeout": "30s",
"input_query_strings": [
Expand Down Expand Up @@ -2750,6 +2750,12 @@
"url_pattern": "/model.model.v1alpha.ModelPublicService/GetModelOperation",
"method": "POST",
"timeout": "5s"
},
{
"endpoint": "/model.model.v1alpha.ModelPublicService/ListModelRuns",
"url_pattern": "/model.model.v1alpha.ModelPublicService/ListModelRuns",
"method": "POST",
"timeout": "5s"
}
],
"grpc_no_auth": [
Expand Down

0 comments on commit 78cb564

Please sign in to comment.