~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
fix: respect selected log filter for new appending logs of a currently running research
hashedvikingd0d35b4e8070
diff --git a/src/local_deep_research/web/static/js/components/logpanel.js b/src/local_deep_research/web/static/js/components/logpanel.jsindex fcd3571f1b..98a45878e2 100644--- a/src/local_deep_research/web/static/js/components/logpanel.js+++ b/src/local_deep_research/web/static/js/components/logpanel.js@@ -10,7 +10,8 @@queuedLogs: [],logCount: 0,initialized: false, // Track initialization state- connectedResearchId: null // Track which research we're connected to+ connectedResearchId: null, // Track which research we're connected to+ currentFilter: 'all' // Track current filter type};/**@@ -779,6 +780,16 @@consoleLogContainer.appendChild(entry);}+ // Check if the entry should be visible based on current filter+ const currentFilter = window._logPanelState.currentFilter || 'all';+ const shouldShow = checkLogVisibility(logLevel.toLowerCase(), currentFilter);++ // Apply visibility based on the current filter+ const newEntry = consoleLogContainer.lastElementChild;+ if (newEntry) {+ newEntry.style.display = shouldShow ? '' : 'none';+ }+// Update log count using helper function if neededif (incrementCounter) {updateLogCounter(1);@@ -811,6 +822,29 @@}}+ /**+ * Check if a log entry should be visible based on filter type+ * @param {string} logType - The type of log (info, milestone, error)+ * @param {string} filterType - The selected filter (all, info, milestone, error)+ * @returns {boolean} - Whether the log should be visible+ */+ function checkLogVisibility(logType, filterType) {+ switch (filterType) {+ case 'all':+ return true;+ case 'info':+ return logType === 'info';+ case 'milestone':+ case 'milestones': // Handle plural form too+ return logType === 'milestone';+ case 'error':+ case 'errors': // Handle plural form too+ return logType === 'error';+ default:+ return true; // Default to showing everything+ }+ }+/*** Filter logs by type* @param {string} filterType - The type to filter by (all, info, milestone, error)@@ -820,6 +854,9 @@filterType = filterType.toLowerCase();+ // Store current filter in shared state+ window._logPanelState.currentFilter = filterType;+// Get all log entries from the DOMconst logEntries = document.querySelectorAll('.console-log-entry');console.log(`Found ${logEntries.length} log entries to filter`);@@ -832,26 +869,7 @@const logType = entry.dataset.logType || 'info';// Determine visibility based on filter type- let shouldShow = false;-- switch (filterType) {- case 'all':- shouldShow = true;- break;- case 'info':- shouldShow = logType === 'info';- break;- case 'milestone':- case 'milestones': // Handle plural form too- shouldShow = logType === 'milestone';- break;- case 'error':- case 'errors': // Handle plural form too- shouldShow = logType === 'error';- break;- default:- shouldShow = true; // Default to showing everything- }+ const shouldShow = checkLogVisibility(logType, filterType);// Set display style based on filter resultentry.style.display = shouldShow ? '' : 'none';