From 8ab67fe8685892b543f778bd7184955699ce998e Mon Sep 17 00:00:00 2001 From: tzwang Date: Tue, 27 Aug 2024 15:46:20 +0800 Subject: [PATCH] updated GetRunningInstance apis Former-commit-id: 580ae562208ee4c896ca7065364b874bed62927e --- desc/inference/inference.api | 3 +-- internal/types/types.go | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/desc/inference/inference.api b/desc/inference/inference.api index 63a5e21d..abbd56ae 100644 --- a/desc/inference/inference.api +++ b/desc/inference/inference.api @@ -157,8 +157,7 @@ type ( } GetRunningInstanceReq { - AdapterIds []string `form:"adapterIds"` - ModelType string `form:"modelType"` + Id string `json:"deployTaskId"` } GetRunningInstanceResp { List interface{} `json:"list"` diff --git a/internal/types/types.go b/internal/types/types.go index 30bcf2ef..ca3a2125 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -6053,8 +6053,7 @@ type StopAllByDeployTaskIdResp struct { } type GetRunningInstanceReq struct { - AdapterIds []string `form:"adapterIds"` - ModelType string `form:"modelType"` + Id string `json:"deployTaskId"` } type GetRunningInstanceResp struct {