@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
- export type UpstreamModel = {
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
@@ -124,6 +124,7 @@ export type TrainingConfig = {
124
124
  outputPvcName?: string
125
125
  storageSource?: HydraManagement_apiModelV1alpha1Model_weights_volume.StorageSourceType
126
126
  outputMountPath?: string
127
+ outputFilesStorageName?: string
127
128
  }
128
129
 
129
130
  export type DpoConfig = {
@@ -301,14 +301,15 @@ export type GetModelServingRequest = {
301
301
  id?: string
302
302
  }
303
303
 
304
- export type ModelServingStatusPeriod = {
305
- startTime?: GoogleProtobufTimestamp.Timestamp
306
- endTime?: GoogleProtobufTimestamp.Timestamp
304
+ export type ModelServingStatusEvent = {
305
+ time?: GoogleProtobufTimestamp.Timestamp
306
+ code?: string
307
307
  }
308
308
 
309
309
  export type ModelServingStatusPoint = {
310
- period?: ModelServingStatusPeriod
310
+ date?: string
311
311
  status?: ModelServingHealthStatus
312
+ relatedEvents?: ModelServingStatusEvent[]
312
313
  }
313
314
 
314
315
  export type ModelServingStatusHistory = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.18.0-dev-33",
3
+ "version": "v0.18.0-dev-36",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"