@daocloud-proto/hydra 0.15.0-dev-1 → 0.15.0-dev-2

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.
@@ -84,6 +84,12 @@ export type WeightVolumeConfig = {
84
84
  mountPath?: string
85
85
  }
86
86
 
87
+ export type ConfigMapMountConfig = {
88
+ configMapName?: string
89
+ mountPath?: string
90
+ subPath?: string
91
+ }
92
+
87
93
 
88
94
  /* hydra modified */ export type BaseResourceConfig = {
89
95
  cpu?: number
@@ -134,6 +140,7 @@ export type CreateModelServingRequest = {
134
140
  runtimeConfig?: RuntimeConfig
135
141
  tokenWeight?: string
136
142
  enableMetrics?: boolean
143
+ configMapMounts?: ConfigMapMountConfig[]
137
144
  }
138
145
 
139
146
  export type CreateWSModelServingRequest = BaseCreateWSModelServingRequest
@@ -185,6 +192,7 @@ export type ModelServing = {
185
192
  modelVisible?: ModelVisible
186
193
  tokenWeight?: string
187
194
  preflight?: PreflightConfig
195
+ configMapMounts?: ConfigMapMountConfig[]
188
196
  }
189
197
 
190
198
  export type WSModelServing = BaseWSModelServing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.15.0-dev-1",
3
+ "version": "v0.15.0-dev-2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"