@daocloud-proto/hydra 0.0.0-dev-0d2a5371 → 0.0.0-dev-e59fa9bc
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.
|
@@ -40,6 +40,7 @@ export type CreateMAASModelRequest = {
|
|
|
40
40
|
cluster?: string
|
|
41
41
|
ratelimitConfig?: RatelimitConfig
|
|
42
42
|
loadBalanceConfig?: LoadBalanceConfig
|
|
43
|
+
tokenWeight?: string
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
export type MAASModel = {
|
|
@@ -51,6 +52,7 @@ export type MAASModel = {
|
|
|
51
52
|
creationTimestamp?: GoogleProtobufTimestamp.Timestamp
|
|
52
53
|
gatewayStatus?: MAASModelGatewayStatus
|
|
53
54
|
enabled?: boolean
|
|
55
|
+
tokenWeight?: string
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
export type LoadBalanceConfig = {
|
|
@@ -101,6 +103,7 @@ export type UpdateMAASModelRequest = {
|
|
|
101
103
|
ratelimitConfig?: RatelimitConfig
|
|
102
104
|
loadBalanceConfig?: LoadBalanceConfig
|
|
103
105
|
upstreamModels?: UpstreamModel[]
|
|
106
|
+
tokenWeight?: string
|
|
104
107
|
}
|
|
105
108
|
|
|
106
109
|
export type UpdateMAASModelStatusRequest = {
|
|
@@ -125,6 +125,7 @@ export type CreateModelServingRequest = {
|
|
|
125
125
|
weightVolumeId?: string
|
|
126
126
|
resourceConfig?: ResourceConfig
|
|
127
127
|
runtimeConfig?: RuntimeConfig
|
|
128
|
+
tokenWeight?: string
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
export type CreateWSModelServingRequest = BaseCreateWSModelServingRequest
|
|
@@ -173,6 +174,7 @@ export type ModelServing = {
|
|
|
173
174
|
runtimeConfig?: RuntimeConfig
|
|
174
175
|
weightVolumeConfig?: WeightVolumeConfig
|
|
175
176
|
modelVisible?: ModelVisible
|
|
177
|
+
tokenWeight?: string
|
|
176
178
|
}
|
|
177
179
|
|
|
178
180
|
export type WSModelServing = BaseWSModelServing
|