~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
WIP on log download.
Daniel Petti4c51743c9238
diff --git a/src/local_deep_research/web/static/js/components/logpanel.js b/src/local_deep_research/web/static/js/components/logpanel.jsindex 1451c4f153..4b9474eb56 100644--- a/src/local_deep_research/web/static/js/components/logpanel.js+++ b/src/local_deep_research/web/static/js/components/logpanel.js@@ -13,7 +13,7 @@connectedResearchId: null, // Track which research we're connected tocurrentFilter: 'all' // Track current filter type};-+/*** Initialize the log panel* @param {string} researchId - Optional research ID to load logs for@@ -369,6 +369,8 @@// Add to all logs arrayallLogs.push(logEntry);});++ lastLogContents = allLogs;}} catch (e) {console.error('Error parsing progress_log:', e);@@ -608,7 +610,7 @@*/function addLogEntryToPanel(logEntry, incrementCounter = true) {console.log('Adding log entry to panel:', logEntry);-+const consoleLogContainer = document.getElementById('console-log-container');if (!consoleLogContainer) {console.warn('Console log container not found');@@ -910,6 +912,29 @@}}+ /**+ * @brief Handler for the log download button which downloads all the+ * saved logs to the user's computer.+ */+ function downloadLogs() {+ // Get all console log entries from the DOM+ const logEntries = document.querySelectorAll('.console-log-entry');++ // Create a blob with the logs data+ const blob = new Blob([JSON.stringify(logs, null, 2)], { type: 'application/json' });++ // Create a link element and trigger download+ const url = URL.createObjectURL(blob);+ const a = document.createElement('a');+ a.href = url;+ a.download = 'logs.json';+ document.body.appendChild(a);+ a.click();+ document.body.removeChild(a);+ URL.revokeObjectURL(url);++ }+// Expose public APIwindow.logPanel = {initialize: initializeLogPanel,diff --git a/src/local_deep_research/web/templates/components/log_panel.html b/src/local_deep_research/web/templates/components/log_panel.htmlindex 064ea6ed43..3e19d1e717 100644--- a/src/local_deep_research/web/templates/components/log_panel.html+++ b/src/local_deep_research/web/templates/components/log_panel.html@@ -14,6 +14,11 @@<button class="small-btn" onclick="window.filterLogsByType('error')">Errors</button></div></div>+ <div class="log-download">+ <button class="small-btn download-btn" id="log-download-button">+ <i class="fas fa-download"></i> Download Logs+ </button>+ </div></div><div class="console-log" id="console-log-container"><!-- Logs will be added here dynamically -->@@ -29,4 +34,4 @@<span class="log-badge"></span><span class="log-message"></span></div>-</template>\ No newline at end of file+</template>