@daocloud-proto/hydra 0.18.0-dev-33 → 0.18.0-dev-36
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.
|
@@ -224,7 +224,8 @@ export type MAASCapabilityUpstream = {
|
|
|
224
224
|
healthMessage?: string
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
|
|
227
|
+
|
|
228
|
+
type BaseUpstreamModel = {
|
|
228
229
|
modelId?: string
|
|
229
230
|
apiKey?: string
|
|
230
231
|
endpoint?: string
|
|
@@ -233,6 +234,9 @@ export type UpstreamModel = {
|
|
|
233
234
|
healthMessage?: string
|
|
234
235
|
}
|
|
235
236
|
|
|
237
|
+
export type UpstreamModel = BaseUpstreamModel
|
|
238
|
+
& OneOf<{ timeoutSeconds: number }>
|
|
239
|
+
|
|
236
240
|
export type HealthCheck = {
|
|
237
241
|
path?: string
|
|
238
242
|
interval?: number
|
|
@@ -301,14 +301,15 @@ export type GetModelServingRequest = {
|
|
|
301
301
|
id?: string
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export type
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
export type ModelServingStatusEvent = {
|
|
305
|
+
time?: GoogleProtobufTimestamp.Timestamp
|
|
306
|
+
code?: string
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
export type ModelServingStatusPoint = {
|
|
310
|
-
|
|
310
|
+
date?: string
|
|
311
311
|
status?: ModelServingHealthStatus
|
|
312
|
+
relatedEvents?: ModelServingStatusEvent[]
|
|
312
313
|
}
|
|
313
314
|
|
|
314
315
|
export type ModelServingStatusHistory = {
|