This commit is contained in:
root
2025-10-05 14:54:37 +05:00
parent c9d67731ca
commit 2ef8f0dc3a
@@ -105,7 +105,10 @@ public class ReportController {
|| researchResponse.getMainContent().trim().isEmpty()) {
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(),
researchResponse);
String filename = "research_report_" + System.currentTimeMillis() + ".pdf";