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)
This commit is contained in:
buua436
2026-05-18 15:07:07 +08:00
committed by GitHub
parent fe82a96193
commit b40b0bf996

View File

@@ -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"`