status
This commit is contained in:
@@ -105,7 +105,10 @@ public class ReportController {
|
|||||||
|| researchResponse.getMainContent().trim().isEmpty()) {
|
|| researchResponse.getMainContent().trim().isEmpty()) {
|
||||||
throw new RuntimeException("Empty research response content");
|
throw new RuntimeException("Empty research response content");
|
||||||
}
|
}
|
||||||
|
System.out.println("researchResponse:" + researchResponse.getMainContent());
|
||||||
|
System.out.println("researchResponse:" + researchResponse.getReport());
|
||||||
|
System.out.println("researchResponse:" + researchResponse.getAnswer());
|
||||||
|
System.out.println("researchResponse:" + researchResponse.getStatus());
|
||||||
byte[] pdfBytes = researchPdfService.generatePdfReport(request.getQuery(),
|
byte[] pdfBytes = researchPdfService.generatePdfReport(request.getQuery(),
|
||||||
researchResponse);
|
researchResponse);
|
||||||
String filename = "research_report_" + System.currentTimeMillis() + ".pdf";
|
String filename = "research_report_" + System.currentTimeMillis() + ".pdf";
|
||||||
|
|||||||
Reference in New Issue
Block a user