Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

Fix issue with PDF generation.

Daniel Pettia718ae49e5fd
diff --git a/src/local_deep_research/web/static/js/services/pdf.js b/src/local_deep_research/web/static/js/services/pdf.js
index 7d981139f3..27e78f315b 100644
--- a/src/local_deep_research/web/static/js/services/pdf.js
+++ b/src/local_deep_research/web/static/js/services/pdf.js
@@ -12,7 +12,7 @@
*/
async function generatePdf(title, content, metadata = {}) {
// Check if necessary libraries are loaded
- if (typeof jspdf === 'undefined') {
+ if (typeof jsPDF === 'undefined') {
throw new Error('PDF generation libraries not loaded (jsPDF missing)');
}
@@ -154,10 +154,6 @@ async function generatePdf(title, content, metadata = {}) {
}
try {
-
- // Use the jsPDF library from the window object
- const { jsPDF } = window.jspdf;
-
// Create a new PDF document
const pdf = new jsPDF('p', 'pt', 'letter');
const pdfWidth = pdf.internal.pageSize.getWidth();