From b40b0bf99694bf72ab97c95ac440e91231e8804b Mon Sep 17 00:00:00 2001 From: buua436 Date: Mon, 18 May 2026 15:07:07 +0800 Subject: [PATCH] Go: fix siliconflow embedding response (#14975) ### What problem does this PR solve? fix siliconflow embedding response ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- internal/entity/models/siliconflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/entity/models/siliconflow.go b/internal/entity/models/siliconflow.go index 11ba909365..7e9d4f7c57 100644 --- a/internal/entity/models/siliconflow.go +++ b/internal/entity/models/siliconflow.go @@ -372,7 +372,7 @@ func (z *SiliconflowModel) ChatStreamlyWithSender(modelName string, messages []M } type siliconflowEmbeddingResponse struct { - Object []string `json:"object"` + Object string `json:"object"` Model string `json:"model"` Data []siliconflowEmbeddingData `json:"data"` Usage siliconflowUsage `json:"usage"`