恢复
This commit is contained in:
parent
cdfac14a4a
commit
f845bada70
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user