diff --git a/api/desc/inference/inference.api b/api/desc/inference/inference.api index 51492e01..994532b3 100644 --- a/api/desc/inference/inference.api +++ b/api/desc/inference/inference.api @@ -3,8 +3,9 @@ syntax = "v1" type ( InferOption { TaskName string `json:"taskName"` + TaskDesc string `json:"taskDesc"` ModelName string `json:"modelName"` - TaskType string `json:"taskType"` + ModelType string `json:"modelType"` AdapterId string `json:"adapterId"` AiClusterIds []string `json:"aiClusterIds"` ResourceType string `json:"resourceType"` diff --git a/api/internal/types/types.go b/api/internal/types/types.go index d339507c..e2b0fc9e 100644 --- a/api/internal/types/types.go +++ b/api/internal/types/types.go @@ -5881,8 +5881,9 @@ type Category struct { type InferOption struct { TaskName string `json:"taskName"` + TaskDesc string `json:"taskDesc"` ModelName string `json:"modelName"` - TaskType string `json:"taskType"` + ModelType string `json:"modelType"` AdapterId string `json:"adapterId"` AiClusterIds []string `json:"aiClusterIds"` ResourceType string `json:"resourceType"`