@@ -858,7 +858,7 @@ func (s *API) ListDeployments(req *ListDeploymentsRequest, opts ...scw.RequestOp
858858
859859scwReq := & scw.ScalewayRequest {
860860Method : "GET" ,
861- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments" ,
861+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments" ,
862862Query : query ,
863863}
864864
@@ -890,7 +890,7 @@ func (s *API) GetDeployment(req *GetDeploymentRequest, opts ...scw.RequestOption
890890
891891scwReq := & scw.ScalewayRequest {
892892Method : "GET" ,
893- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "" ,
893+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "" ,
894894}
895895
896896var resp Deployment
@@ -917,7 +917,7 @@ func (s *API) CreateDeployment(req *CreateDeploymentRequest, opts ...scw.Request
917917}
918918
919919if req .Name == "" {
920- req .Name = namegenerator .GetRandomName ("llm " )
920+ req .Name = namegenerator .GetRandomName ("inference " )
921921}
922922
923923if fmt .Sprint (req .Region ) == "" {
@@ -926,7 +926,7 @@ func (s *API) CreateDeployment(req *CreateDeploymentRequest, opts ...scw.Request
926926
927927scwReq := & scw.ScalewayRequest {
928928Method : "POST" ,
929- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments" ,
929+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments" ,
930930}
931931
932932err = scwReq .SetBody (req )
@@ -962,7 +962,7 @@ func (s *API) UpdateDeployment(req *UpdateDeploymentRequest, opts ...scw.Request
962962
963963scwReq := & scw.ScalewayRequest {
964964Method : "PATCH" ,
965- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "" ,
965+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "" ,
966966}
967967
968968err = scwReq .SetBody (req )
@@ -998,7 +998,7 @@ func (s *API) DeleteDeployment(req *DeleteDeploymentRequest, opts ...scw.Request
998998
999999scwReq := & scw.ScalewayRequest {
10001000Method : "DELETE" ,
1001- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "" ,
1001+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "" ,
10021002}
10031003
10041004var resp Deployment
@@ -1030,7 +1030,7 @@ func (s *API) GetDeploymentCertificate(req *GetDeploymentCertificateRequest, opt
10301030
10311031scwReq := & scw.ScalewayRequest {
10321032Method : "GET" ,
1033- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "/certificate" ,
1033+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "/certificate" ,
10341034}
10351035
10361036var resp scw.File
@@ -1057,7 +1057,7 @@ func (s *API) CreateEndpoint(req *CreateEndpointRequest, opts ...scw.RequestOpti
10571057
10581058scwReq := & scw.ScalewayRequest {
10591059Method : "POST" ,
1060- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/endpoints" ,
1060+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/endpoints" ,
10611061}
10621062
10631063err = scwReq .SetBody (req )
@@ -1093,7 +1093,7 @@ func (s *API) UpdateEndpoint(req *UpdateEndpointRequest, opts ...scw.RequestOpti
10931093
10941094scwReq := & scw.ScalewayRequest {
10951095Method : "PATCH" ,
1096- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/endpoints/" + fmt .Sprint (req .EndpointID ) + "" ,
1096+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/endpoints/" + fmt .Sprint (req .EndpointID ) + "" ,
10971097}
10981098
10991099err = scwReq .SetBody (req )
@@ -1129,7 +1129,7 @@ func (s *API) DeleteEndpoint(req *DeleteEndpointRequest, opts ...scw.RequestOpti
11291129
11301130scwReq := & scw.ScalewayRequest {
11311131Method : "DELETE" ,
1132- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/endpoints/" + fmt .Sprint (req .EndpointID ) + "" ,
1132+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/endpoints/" + fmt .Sprint (req .EndpointID ) + "" ,
11331133}
11341134
11351135err = s .client .Do (scwReq , nil , opts ... )
@@ -1167,7 +1167,7 @@ func (s *API) ListDeploymentACLRules(req *ListDeploymentACLRulesRequest, opts ..
11671167
11681168scwReq := & scw.ScalewayRequest {
11691169Method : "GET" ,
1170- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "/acls" ,
1170+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "/acls" ,
11711171Query : query ,
11721172}
11731173
@@ -1199,7 +1199,7 @@ func (s *API) AddDeploymentACLRules(req *AddDeploymentACLRulesRequest, opts ...s
11991199
12001200scwReq := & scw.ScalewayRequest {
12011201Method : "POST" ,
1202- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "/acls" ,
1202+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "/acls" ,
12031203}
12041204
12051205err = scwReq .SetBody (req )
@@ -1235,7 +1235,7 @@ func (s *API) SetDeploymentACLRules(req *SetDeploymentACLRulesRequest, opts ...s
12351235
12361236scwReq := & scw.ScalewayRequest {
12371237Method : "PUT" ,
1238- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "/acls" ,
1238+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/deployments/" + fmt .Sprint (req .DeploymentID ) + "/acls" ,
12391239}
12401240
12411241err = scwReq .SetBody (req )
@@ -1271,7 +1271,7 @@ func (s *API) DeleteDeploymentACLRule(req *DeleteDeploymentACLRuleRequest, opts
12711271
12721272scwReq := & scw.ScalewayRequest {
12731273Method : "DELETE" ,
1274- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/acls/" + fmt .Sprint (req .ACLID ) + "" ,
1274+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/acls/" + fmt .Sprint (req .ACLID ) + "" ,
12751275}
12761276
12771277err = s .client .Do (scwReq , nil , opts ... )
@@ -1309,7 +1309,7 @@ func (s *API) ListModels(req *ListModelsRequest, opts ...scw.RequestOption) (*Li
13091309
13101310scwReq := & scw.ScalewayRequest {
13111311Method : "GET" ,
1312- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/models" ,
1312+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/models" ,
13131313Query : query ,
13141314}
13151315
@@ -1341,7 +1341,7 @@ func (s *API) GetModel(req *GetModelRequest, opts ...scw.RequestOption) (*Model,
13411341
13421342scwReq := & scw.ScalewayRequest {
13431343Method : "GET" ,
1344- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/models/" + fmt .Sprint (req .ModelID ) + "" ,
1344+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/models/" + fmt .Sprint (req .ModelID ) + "" ,
13451345}
13461346
13471347var resp Model
@@ -1372,7 +1372,7 @@ func (s *API) GetModelEula(req *GetModelEulaRequest, opts ...scw.RequestOption)
13721372
13731373scwReq := & scw.ScalewayRequest {
13741374Method : "GET" ,
1375- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/models/" + fmt .Sprint (req .ModelID ) + "/eula" ,
1375+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/models/" + fmt .Sprint (req .ModelID ) + "/eula" ,
13761376}
13771377
13781378var resp Eula
@@ -1409,7 +1409,7 @@ func (s *API) ListNodeTypes(req *ListNodeTypesRequest, opts ...scw.RequestOption
14091409
14101410scwReq := & scw.ScalewayRequest {
14111411Method : "GET" ,
1412- Path : "/llm- inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/node-types" ,
1412+ Path : "/inference/v1beta1/regions/" + fmt .Sprint (req .Region ) + "/node-types" ,
14131413Query : query ,
14141414}
14151415
0 commit comments