修复
This commit is contained in:
parent
30481f9080
commit
be2de1ecc8
@ -101,6 +101,7 @@ public class RagHttpService {
|
||||
byte[] utf8Bytes = fileContent.getBytes(StandardCharsets.UTF_8);
|
||||
|
||||
// 上传文件
|
||||
Unirest.config().reset();
|
||||
Unirest.config().socketTimeout(60000);
|
||||
HttpResponse<String> uploadResponse = Unirest.post(ragUploadReqVO.getUrl())
|
||||
.field("file_id", ragUploadReqVO.getFileId())
|
||||
|
Loading…
x
Reference in New Issue
Block a user