diff --git a/api/desc/inference/inference.api b/api/desc/inference/inference.api index c47fb20e..51492e01 100644 --- a/api/desc/inference/inference.api +++ b/api/desc/inference/inference.api @@ -3,6 +3,7 @@ syntax = "v1" type ( InferOption { TaskName string `json:"taskName"` + ModelName string `json:"modelName"` TaskType string `json:"taskType"` AdapterId string `json:"adapterId"` AiClusterIds []string `json:"aiClusterIds"` diff --git a/api/internal/types/types.go b/api/internal/types/types.go index e45a6d7e..d339507c 100644 --- a/api/internal/types/types.go +++ b/api/internal/types/types.go @@ -5881,6 +5881,7 @@ type Category struct { type InferOption struct { TaskName string `json:"taskName"` + ModelName string `json:"modelName"` TaskType string `json:"taskType"` AdapterId string `json:"adapterId"` AiClusterIds []string `json:"aiClusterIds"`