diff --git a/desc/inference/inference.api b/desc/inference/inference.api index 07d8ee01..f6ac8568 100644 --- a/desc/inference/inference.api +++ b/desc/inference/inference.api @@ -200,7 +200,7 @@ type ( AdapterAvail { AdapterId string `json:"adapterId"` - AdapterName string `json:"taskName"` + AdapterName string `json:"adapterName"` Clusters []*ClusterAvail `json:"clusters"` } diff --git a/internal/types/types.go b/internal/types/types.go index 7d5da4ef..284d0383 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -6096,7 +6096,7 @@ type GetAdaptersByModelResp struct { type AdapterAvail struct { AdapterId string `json:"adapterId"` - AdapterName string `json:"taskName"` + AdapterName string `json:"adapterName"` Clusters []*ClusterAvail `json:"clusters"` }