From 91bfc6e6b3f29ceb5c878cc7e73637d34341c32e Mon Sep 17 00:00:00 2001 From: tzwang Date: Mon, 2 Sep 2024 17:25:31 +0800 Subject: [PATCH] updated getadapterbymodel api Former-commit-id: 8a6175e6d646a05c9298b7d9747a671b37f43dd7 --- desc/inference/inference.api | 2 +- internal/types/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"` }