@evalops/sdk-ts 0.1.66 → 0.1.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type {
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { EvidenceRef } from "../../common/v1/analytics_pb.js";
|
|
3
|
+
import type { Duration, Value } from "@bufbuild/protobuf/wkt";
|
|
3
4
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
5
|
/**
|
|
5
6
|
* Describes the file llmgateway/v1/gateway.proto.
|
|
@@ -108,6 +109,162 @@ export type PromptRef = Message<"llmgateway.v1.PromptRef"> & {
|
|
|
108
109
|
* Use `create(PromptRefSchema)` to create a new message.
|
|
109
110
|
*/
|
|
110
111
|
export declare const PromptRefSchema: GenMessage<PromptRef>;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from message llmgateway.v1.RoutingWeight
|
|
114
|
+
*/
|
|
115
|
+
export type RoutingWeight = Message<"llmgateway.v1.RoutingWeight"> & {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: string provider = 1;
|
|
118
|
+
*/
|
|
119
|
+
provider: string;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: string environment = 2;
|
|
122
|
+
*/
|
|
123
|
+
environment: string;
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: string credential_name = 3;
|
|
126
|
+
*/
|
|
127
|
+
credentialName: string;
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: string model = 4;
|
|
130
|
+
*/
|
|
131
|
+
model: string;
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: double weight = 5;
|
|
134
|
+
*/
|
|
135
|
+
weight: number;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message llmgateway.v1.RoutingWeight.
|
|
139
|
+
* Use `create(RoutingWeightSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const RoutingWeightSchema: GenMessage<RoutingWeight>;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from message llmgateway.v1.RoutingRecommendation
|
|
144
|
+
*/
|
|
145
|
+
export type RoutingRecommendation = Message<"llmgateway.v1.RoutingRecommendation"> & {
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: string recommendation_id = 1;
|
|
148
|
+
*/
|
|
149
|
+
recommendationId: string;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: string organization_id = 2;
|
|
152
|
+
*/
|
|
153
|
+
organizationId: string;
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: string workspace_id = 3;
|
|
156
|
+
*/
|
|
157
|
+
workspaceId: string;
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: string recommendation_type = 4;
|
|
160
|
+
*/
|
|
161
|
+
recommendationType: string;
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string task = 5;
|
|
164
|
+
*/
|
|
165
|
+
task: string;
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: llmgateway.v1.RoutingRecommendationLifecycleStage requested_stage = 6;
|
|
168
|
+
*/
|
|
169
|
+
requestedStage: RoutingRecommendationLifecycleStage;
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: repeated llmgateway.v1.RoutingWeight previous_weights = 7;
|
|
172
|
+
*/
|
|
173
|
+
previousWeights: RoutingWeight[];
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: repeated llmgateway.v1.RoutingWeight proposed_weights = 8;
|
|
176
|
+
*/
|
|
177
|
+
proposedWeights: RoutingWeight[];
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: google.protobuf.Duration ttl = 9;
|
|
180
|
+
*/
|
|
181
|
+
ttl?: Duration | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: string validation_query = 10;
|
|
184
|
+
*/
|
|
185
|
+
validationQuery: string;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: string revert_target = 11;
|
|
188
|
+
*/
|
|
189
|
+
revertTarget: string;
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: repeated common.v1.EvidenceRef evidence = 12;
|
|
192
|
+
*/
|
|
193
|
+
evidence: EvidenceRef[];
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: google.protobuf.Struct metadata = 13;
|
|
196
|
+
*/
|
|
197
|
+
metadata?: JsonObject | undefined;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Describes the message llmgateway.v1.RoutingRecommendation.
|
|
201
|
+
* Use `create(RoutingRecommendationSchema)` to create a new message.
|
|
202
|
+
*/
|
|
203
|
+
export declare const RoutingRecommendationSchema: GenMessage<RoutingRecommendation>;
|
|
204
|
+
/**
|
|
205
|
+
* @generated from message llmgateway.v1.ReviewRoutingRecommendationRequest
|
|
206
|
+
*/
|
|
207
|
+
export type ReviewRoutingRecommendationRequest = Message<"llmgateway.v1.ReviewRoutingRecommendationRequest"> & {
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: llmgateway.v1.RoutingRecommendation recommendation = 1;
|
|
210
|
+
*/
|
|
211
|
+
recommendation?: RoutingRecommendation | undefined;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message llmgateway.v1.ReviewRoutingRecommendationRequest.
|
|
215
|
+
* Use `create(ReviewRoutingRecommendationRequestSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
export declare const ReviewRoutingRecommendationRequestSchema: GenMessage<ReviewRoutingRecommendationRequest>;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from message llmgateway.v1.ReviewRoutingRecommendationResponse
|
|
220
|
+
*/
|
|
221
|
+
export type ReviewRoutingRecommendationResponse = Message<"llmgateway.v1.ReviewRoutingRecommendationResponse"> & {
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: string recommendation_id = 1;
|
|
224
|
+
*/
|
|
225
|
+
recommendationId: string;
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: bool accepted_for_review = 2;
|
|
228
|
+
*/
|
|
229
|
+
acceptedForReview: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: llmgateway.v1.RoutingRecommendationLifecycleStage current_stage = 3;
|
|
232
|
+
*/
|
|
233
|
+
currentStage: RoutingRecommendationLifecycleStage;
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: bool manual_review_required = 4;
|
|
236
|
+
*/
|
|
237
|
+
manualReviewRequired: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: bool canary_apply_allowed = 5;
|
|
240
|
+
*/
|
|
241
|
+
canaryApplyAllowed: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: bool auto_apply_allowed = 6;
|
|
244
|
+
*/
|
|
245
|
+
autoApplyAllowed: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: bool routing_change_applied = 7;
|
|
248
|
+
*/
|
|
249
|
+
routingChangeApplied: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* @generated from field: repeated string rejection_reasons = 8;
|
|
252
|
+
*/
|
|
253
|
+
rejectionReasons: string[];
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: repeated string warnings = 9;
|
|
256
|
+
*/
|
|
257
|
+
warnings: string[];
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: double max_weight_delta = 10;
|
|
260
|
+
*/
|
|
261
|
+
maxWeightDelta: number;
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* Describes the message llmgateway.v1.ReviewRoutingRecommendationResponse.
|
|
265
|
+
* Use `create(ReviewRoutingRecommendationResponseSchema)` to create a new message.
|
|
266
|
+
*/
|
|
267
|
+
export declare const ReviewRoutingRecommendationResponseSchema: GenMessage<ReviewRoutingRecommendationResponse>;
|
|
111
268
|
/**
|
|
112
269
|
* @generated from message llmgateway.v1.ChatMessage
|
|
113
270
|
*/
|
|
@@ -346,6 +503,35 @@ export type CreateEmbeddingResponse = Message<"llmgateway.v1.CreateEmbeddingResp
|
|
|
346
503
|
* Use `create(CreateEmbeddingResponseSchema)` to create a new message.
|
|
347
504
|
*/
|
|
348
505
|
export declare const CreateEmbeddingResponseSchema: GenMessage<CreateEmbeddingResponse>;
|
|
506
|
+
/**
|
|
507
|
+
* @generated from enum llmgateway.v1.RoutingRecommendationLifecycleStage
|
|
508
|
+
*/
|
|
509
|
+
export declare enum RoutingRecommendationLifecycleStage {
|
|
510
|
+
/**
|
|
511
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_UNSPECIFIED = 0;
|
|
512
|
+
*/
|
|
513
|
+
UNSPECIFIED = 0,
|
|
514
|
+
/**
|
|
515
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_NOTIFY = 1;
|
|
516
|
+
*/
|
|
517
|
+
NOTIFY = 1,
|
|
518
|
+
/**
|
|
519
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_SUGGEST = 2;
|
|
520
|
+
*/
|
|
521
|
+
SUGGEST = 2,
|
|
522
|
+
/**
|
|
523
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_CANARY = 3;
|
|
524
|
+
*/
|
|
525
|
+
CANARY = 3,
|
|
526
|
+
/**
|
|
527
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_AUTO_APPLY = 4;
|
|
528
|
+
*/
|
|
529
|
+
AUTO_APPLY = 4
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* Describes the enum llmgateway.v1.RoutingRecommendationLifecycleStage.
|
|
533
|
+
*/
|
|
534
|
+
export declare const RoutingRecommendationLifecycleStageSchema: GenEnum<RoutingRecommendationLifecycleStage>;
|
|
349
535
|
/**
|
|
350
536
|
* @generated from service llmgateway.v1.GatewayService
|
|
351
537
|
*/
|
|
@@ -358,6 +544,14 @@ export declare const GatewayService: GenService<{
|
|
|
358
544
|
input: typeof GetInfoRequestSchema;
|
|
359
545
|
output: typeof GetInfoResponseSchema;
|
|
360
546
|
};
|
|
547
|
+
/**
|
|
548
|
+
* @generated from rpc llmgateway.v1.GatewayService.ReviewRoutingRecommendation
|
|
549
|
+
*/
|
|
550
|
+
reviewRoutingRecommendation: {
|
|
551
|
+
methodKind: "unary";
|
|
552
|
+
input: typeof ReviewRoutingRecommendationRequestSchema;
|
|
553
|
+
output: typeof ReviewRoutingRecommendationResponseSchema;
|
|
554
|
+
};
|
|
361
555
|
/**
|
|
362
556
|
* @generated from rpc llmgateway.v1.GatewayService.CreateMessage
|
|
363
557
|
*/
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts,import_extension=.js"
|
|
2
2
|
// @generated from file llmgateway/v1/gateway.proto (package llmgateway.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
|
|
6
|
-
import {
|
|
6
|
+
import { file_common_v1_analytics } from "../../common/v1/analytics_pb.js";
|
|
7
|
+
import { file_google_protobuf_duration, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
7
8
|
/**
|
|
8
9
|
* Describes the file llmgateway/v1/gateway.proto.
|
|
9
10
|
*/
|
|
10
|
-
export const file_llmgateway_v1_gateway = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_llmgateway_v1_gateway = /*@__PURE__*/ fileDesc("ChtsbG1nYXRld2F5L3YxL2dhdGV3YXkucHJvdG8SDWxsbWdhdGV3YXkudjEiEAoOR2V0SW5mb1JlcXVlc3Qi4gEKD0dldEluZm9SZXNwb25zZRIPCgdzZXJ2aWNlGAEgASgJEg8KB3Zlc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BsZXRpb24SKi5sbG1nYXRld2F5LnYxLkNyZWF0ZUNoYXRDb21wbGV0aW9uUmVxdWVzdBorLmxsbWdhdGV3YXkudjEuQ3JlYXRlQ2hhdENvbXBsZXRpb25SZXNwb25zZRJgCg9DcmVhdGVFbWJlZGRpbmcSJS5sbG1nYXRld2F5LnYxLkNyZWF0ZUVtYmVkZGluZ1JlcXVlc3QaJi5sbG1nYXRld2F5LnYxLkNyZWF0ZUVtYmVkZGluZ1Jlc3BvbnNlQj9aPWdpdGh1Yi5jb20vZXZhbG9wcy9wbGF0Zm9ybS9nZW4vZ28vbGxtZ2F0ZXdheS92MTtsbG1nYXRld2F5djFiBnByb3RvMw", [file_buf_validate_validate, file_common_v1_analytics, file_google_protobuf_duration, file_google_protobuf_struct]);
|
|
11
12
|
/**
|
|
12
13
|
* Describes the message llmgateway.v1.GetInfoRequest.
|
|
13
14
|
* Use `create(GetInfoRequestSchema)` to create a new message.
|
|
@@ -28,51 +29,101 @@ export const ProviderRefSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_ga
|
|
|
28
29
|
* Use `create(PromptRefSchema)` to create a new message.
|
|
29
30
|
*/
|
|
30
31
|
export const PromptRefSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 3);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message llmgateway.v1.RoutingWeight.
|
|
34
|
+
* Use `create(RoutingWeightSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const RoutingWeightSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 4);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message llmgateway.v1.RoutingRecommendation.
|
|
39
|
+
* Use `create(RoutingRecommendationSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const RoutingRecommendationSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 5);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message llmgateway.v1.ReviewRoutingRecommendationRequest.
|
|
44
|
+
* Use `create(ReviewRoutingRecommendationRequestSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const ReviewRoutingRecommendationRequestSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 6);
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message llmgateway.v1.ReviewRoutingRecommendationResponse.
|
|
49
|
+
* Use `create(ReviewRoutingRecommendationResponseSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const ReviewRoutingRecommendationResponseSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 7);
|
|
31
52
|
/**
|
|
32
53
|
* Describes the message llmgateway.v1.ChatMessage.
|
|
33
54
|
* Use `create(ChatMessageSchema)` to create a new message.
|
|
34
55
|
*/
|
|
35
|
-
export const ChatMessageSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway,
|
|
56
|
+
export const ChatMessageSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 8);
|
|
36
57
|
/**
|
|
37
58
|
* Describes the message llmgateway.v1.CreateMessageRequest.
|
|
38
59
|
* Use `create(CreateMessageRequestSchema)` to create a new message.
|
|
39
60
|
*/
|
|
40
|
-
export const CreateMessageRequestSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway,
|
|
61
|
+
export const CreateMessageRequestSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 9);
|
|
41
62
|
/**
|
|
42
63
|
* Describes the message llmgateway.v1.CreateResponseRequest.
|
|
43
64
|
* Use `create(CreateResponseRequestSchema)` to create a new message.
|
|
44
65
|
*/
|
|
45
|
-
export const CreateResponseRequestSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway,
|
|
66
|
+
export const CreateResponseRequestSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 10);
|
|
46
67
|
/**
|
|
47
68
|
* Describes the message llmgateway.v1.CreateChatCompletionRequest.
|
|
48
69
|
* Use `create(CreateChatCompletionRequestSchema)` to create a new message.
|
|
49
70
|
*/
|
|
50
|
-
export const CreateChatCompletionRequestSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway,
|
|
71
|
+
export const CreateChatCompletionRequestSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 11);
|
|
51
72
|
/**
|
|
52
73
|
* Describes the message llmgateway.v1.CreateEmbeddingRequest.
|
|
53
74
|
* Use `create(CreateEmbeddingRequestSchema)` to create a new message.
|
|
54
75
|
*/
|
|
55
|
-
export const CreateEmbeddingRequestSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway,
|
|
76
|
+
export const CreateEmbeddingRequestSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 12);
|
|
56
77
|
/**
|
|
57
78
|
* Describes the message llmgateway.v1.CreateMessageResponse.
|
|
58
79
|
* Use `create(CreateMessageResponseSchema)` to create a new message.
|
|
59
80
|
*/
|
|
60
|
-
export const CreateMessageResponseSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway,
|
|
81
|
+
export const CreateMessageResponseSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 13);
|
|
61
82
|
/**
|
|
62
83
|
* Describes the message llmgateway.v1.CreateResponseResponse.
|
|
63
84
|
* Use `create(CreateResponseResponseSchema)` to create a new message.
|
|
64
85
|
*/
|
|
65
|
-
export const CreateResponseResponseSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway,
|
|
86
|
+
export const CreateResponseResponseSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 14);
|
|
66
87
|
/**
|
|
67
88
|
* Describes the message llmgateway.v1.CreateChatCompletionResponse.
|
|
68
89
|
* Use `create(CreateChatCompletionResponseSchema)` to create a new message.
|
|
69
90
|
*/
|
|
70
|
-
export const CreateChatCompletionResponseSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway,
|
|
91
|
+
export const CreateChatCompletionResponseSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 15);
|
|
71
92
|
/**
|
|
72
93
|
* Describes the message llmgateway.v1.CreateEmbeddingResponse.
|
|
73
94
|
* Use `create(CreateEmbeddingResponseSchema)` to create a new message.
|
|
74
95
|
*/
|
|
75
|
-
export const CreateEmbeddingResponseSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway,
|
|
96
|
+
export const CreateEmbeddingResponseSchema = /*@__PURE__*/ messageDesc(file_llmgateway_v1_gateway, 16);
|
|
97
|
+
/**
|
|
98
|
+
* @generated from enum llmgateway.v1.RoutingRecommendationLifecycleStage
|
|
99
|
+
*/
|
|
100
|
+
export var RoutingRecommendationLifecycleStage;
|
|
101
|
+
(function (RoutingRecommendationLifecycleStage) {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_UNSPECIFIED = 0;
|
|
104
|
+
*/
|
|
105
|
+
RoutingRecommendationLifecycleStage[RoutingRecommendationLifecycleStage["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_NOTIFY = 1;
|
|
108
|
+
*/
|
|
109
|
+
RoutingRecommendationLifecycleStage[RoutingRecommendationLifecycleStage["NOTIFY"] = 1] = "NOTIFY";
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_SUGGEST = 2;
|
|
112
|
+
*/
|
|
113
|
+
RoutingRecommendationLifecycleStage[RoutingRecommendationLifecycleStage["SUGGEST"] = 2] = "SUGGEST";
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_CANARY = 3;
|
|
116
|
+
*/
|
|
117
|
+
RoutingRecommendationLifecycleStage[RoutingRecommendationLifecycleStage["CANARY"] = 3] = "CANARY";
|
|
118
|
+
/**
|
|
119
|
+
* @generated from enum value: ROUTING_RECOMMENDATION_LIFECYCLE_STAGE_AUTO_APPLY = 4;
|
|
120
|
+
*/
|
|
121
|
+
RoutingRecommendationLifecycleStage[RoutingRecommendationLifecycleStage["AUTO_APPLY"] = 4] = "AUTO_APPLY";
|
|
122
|
+
})(RoutingRecommendationLifecycleStage || (RoutingRecommendationLifecycleStage = {}));
|
|
123
|
+
/**
|
|
124
|
+
* Describes the enum llmgateway.v1.RoutingRecommendationLifecycleStage.
|
|
125
|
+
*/
|
|
126
|
+
export const RoutingRecommendationLifecycleStageSchema = /*@__PURE__*/ enumDesc(file_llmgateway_v1_gateway, 0);
|
|
76
127
|
/**
|
|
77
128
|
* @generated from service llmgateway.v1.GatewayService
|
|
78
129
|
*/
|