diff --git a/desc/ai/pcm-ai.api b/desc/ai/pcm-ai.api index 3981cf4d..a2b2db15 100644 --- a/desc/ai/pcm-ai.api +++ b/desc/ai/pcm-ai.api @@ -1740,8 +1740,8 @@ PayloadCreateTrainJob{ } TrainingTaskStatResp { - Running string `json:"running"` - Total string `json:"total"` + Running int32 `json:"running"` + Total int32 `json:"total"` } ) diff --git a/desc/inference/inference.api b/desc/inference/inference.api index 36f3f167..d7e4e25d 100644 --- a/desc/inference/inference.api +++ b/desc/inference/inference.api @@ -108,14 +108,14 @@ type ( } DeployInstanceStatResp { - Running string `json:"running"` - Total string `json:"total"` + Running int32 `json:"running"` + Total int32 `json:"total"` } InferenceTaskStatReq {} InferenceTaskStatResp { - Running string `json:"running"` - Total string `json:"total"` + Running int32 `json:"running"` + Total int32 `json:"total"` } ) diff --git a/internal/types/types.go b/internal/types/types.go index 2dea4ea4..e80dd1c8 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -2903,8 +2903,8 @@ type AiTask struct { } type TrainingTaskStatResp struct { - Running string `json:"running"` - Total string `json:"total"` + Running int32 `json:"running"` + Total int32 `json:"total"` } type ChatReq struct { @@ -5999,14 +5999,14 @@ type DeployInstanceStatReq struct { } type DeployInstanceStatResp struct { - Running string `json:"running"` - Total string `json:"total"` + Running int32 `json:"running"` + Total int32 `json:"total"` } type InferenceTaskStatReq struct { } type InferenceTaskStatResp struct { - Running string `json:"running"` - Total string `json:"total"` + Running int32 `json:"running"` + Total int32 `json:"total"` }