This commit is contained in:
limin 2025-02-12 17:05:01 +08:00
parent cdfac14a4a
commit f845bada70

View File

@ -131,7 +131,6 @@ public class RagHttpService {
// 发送上传请求
HttpResponse<String> uploadResponse = Unirest.post(ragUploadReqVO.getUrl())
.header("Content-Type", "multipart/form-data")
.field("file_id", ragUploadReqVO.getFileId())
.field("file", new ByteArrayInputStream(utf8Bytes), ragUploadReqVO.getFileName())
.asString();