Browse Source

updated deployinstancestat rpcs

Former-commit-id: 45719ef937
pull/271/head
tzwang 1 year ago
parent
commit
343e0d5b74
3 changed files with 12 additions and 12 deletions
  1. +2
    -2
      desc/ai/pcm-ai.api
  2. +4
    -4
      desc/inference/inference.api
  3. +6
    -6
      internal/types/types.go

+ 2
- 2
desc/ai/pcm-ai.api View File

@@ -1740,8 +1740,8 @@ PayloadCreateTrainJob{
} }


TrainingTaskStatResp { TrainingTaskStatResp {
Running string `json:"running"`
Total string `json:"total"`
Running int32 `json:"running"`
Total int32 `json:"total"`
} }
) )




+ 4
- 4
desc/inference/inference.api View File

@@ -108,14 +108,14 @@ type (
} }


DeployInstanceStatResp { DeployInstanceStatResp {
Running string `json:"running"`
Total string `json:"total"`
Running int32 `json:"running"`
Total int32 `json:"total"`
} }


InferenceTaskStatReq {} InferenceTaskStatReq {}


InferenceTaskStatResp { InferenceTaskStatResp {
Running string `json:"running"`
Total string `json:"total"`
Running int32 `json:"running"`
Total int32 `json:"total"`
} }
) )

+ 6
- 6
internal/types/types.go View File

@@ -2903,8 +2903,8 @@ type AiTask struct {
} }


type TrainingTaskStatResp struct { type TrainingTaskStatResp struct {
Running string `json:"running"`
Total string `json:"total"`
Running int32 `json:"running"`
Total int32 `json:"total"`
} }


type ChatReq struct { type ChatReq struct {
@@ -5999,14 +5999,14 @@ type DeployInstanceStatReq struct {
} }


type DeployInstanceStatResp struct { type DeployInstanceStatResp struct {
Running string `json:"running"`
Total string `json:"total"`
Running int32 `json:"running"`
Total int32 `json:"total"`
} }


type InferenceTaskStatReq struct { type InferenceTaskStatReq struct {
} }


type InferenceTaskStatResp struct { type InferenceTaskStatResp struct {
Running string `json:"running"`
Total string `json:"total"`
Running int32 `json:"running"`
Total int32 `json:"total"`
} }

Loading…
Cancel
Save