From 858c48a88eecb2f1aed9442ce2621aed95bdbbdb Mon Sep 17 00:00:00 2001 From: Haruko386 Date: Mon, 3 Aug 2026 18:07:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20jina=E2=80=99s=20incorrect=20return=20va?= =?UTF-8?q?lue:=20modelname=20(#17716)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Summary As title: --- internal/entity/models/jina.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/entity/models/jina.go b/internal/entity/models/jina.go index f418ffdbb5..10c62d5476 100644 --- a/internal/entity/models/jina.go +++ b/internal/entity/models/jina.go @@ -384,7 +384,7 @@ func (j *JinaModel) ListModels(ctx context.Context, apiConfig *APIConfig) ([]Lis // convert result["data"] to []map[string]interface{} models := make([]ModelListItem, 0, len(result["data"].([]interface{}))) for _, model := range result["data"].([]interface{}) { - modelName := model.(map[string]interface{})["name"].(string) + modelName := model.(map[string]interface{})["id"].(string) models = append(models, ModelListItem{ ID: modelName, OwnedBy: "",