~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(ui): remove scheduler start button that returns 403 by default (#2544)
LearningCircuit8f953c9f082d
diff --git a/src/local_deep_research/web/static/css/subscriptions.css b/src/local_deep_research/web/static/css/subscriptions.cssindex c0b7604ff0..a59551b2c1 100644--- a/src/local_deep_research/web/static/css/subscriptions.css+++ b/src/local_deep_research/web/static/css/subscriptions.css@@ -133,11 +133,6 @@margin-left: 10px;}-.ldr-scheduler-actions {- display: flex;- gap: 10px;-}-/* Main Container */.ldr-subscriptions-container {display: flex;diff --git a/src/local_deep_research/web/static/js/pages/subscriptions.js b/src/local_deep_research/web/static/js/pages/subscriptions.jsindex 9f4504da15..115b18f682 100644--- a/src/local_deep_research/web/static/js/pages/subscriptions.js+++ b/src/local_deep_research/web/static/js/pages/subscriptions.js@@ -682,7 +682,6 @@ async function checkSchedulerStatus() {const statusIndicator = document.getElementById('status-indicator');const statusText = document.getElementById('status-text');const schedulerDetails = document.getElementById('scheduler-details');- const toggleButton = document.getElementById('toggle-scheduler');// Set checking statestatusIndicator.className = 'ldr-status-indicator ldr-checking';@@ -705,24 +704,15 @@ async function checkSchedulerStatus() {statusText.textContent = 'Not Tracking Your Session';schedulerDetails.innerHTML = 'Log out and log back in to activate automatic scheduling. <a href="#" onclick="showSchedulerInfo(); return false;">Learn more</a>';}-- // Update button state- toggleButton.style.display = 'none';} else {statusIndicator.className = 'ldr-status-indicator ldr-inactive';statusText.textContent = 'Stopped';- schedulerDetails.textContent = 'Auto-refresh is disabled';-- // Show start button- toggleButton.style.display = 'inline-flex';- toggleButton.innerHTML = '<i class="bi bi-play-fill"></i> Start Scheduler';- toggleButton.onclick = () => startScheduler();+ schedulerDetails.textContent = 'Auto-refresh is disabled. Set LDR_NEWS_SCHEDULER_ALLOW_API_CONTROL=true to enable manual control.';}} else {statusIndicator.className = 'ldr-status-indicator ldr-inactive';statusText.textContent = 'Not Available';schedulerDetails.textContent = 'Install APScheduler: pip install apscheduler';- toggleButton.style.display = 'none';}} else {throw new Error('Failed to check scheduler status');@@ -732,43 +722,10 @@ async function checkSchedulerStatus() {statusIndicator.className = 'ldr-status-indicator ldr-inactive';statusText.textContent = 'Error';schedulerDetails.textContent = 'Unable to check scheduler status';- toggleButton.style.display = 'none';}}-async function startScheduler() {- const toggleButton = document.getElementById('toggle-scheduler');- toggleButton.disabled = true;- toggleButton.innerHTML = '<i class="bi bi-hourglass-split"></i> Starting...';-- try {- const response = await fetch('/news/api/scheduler/start', {- ...fetchOptions,- method: 'POST',- headers: {- 'Content-Type': 'application/json',- 'X-CSRFToken': getCSRFToken()- }- });-- if (response.ok) {- showAlert('Scheduler started successfully', 'success');- // Recheck status after a delay- setTimeout(() => checkSchedulerStatus(), 1000);- } else {- const error = await response.json();- // Safe: showAlert escapes internally- showAlert(`Failed to start scheduler: ${error.error || 'Unknown error'}`, 'error');- toggleButton.disabled = false;- }- } catch (error) {- SafeLogger.error('Error starting scheduler:', error);- showAlert('Failed to start scheduler', 'error');- toggleButton.disabled = false;- }-}-// Show scheduler informationfunction showSchedulerInfo() {showAlert(`diff --git a/src/local_deep_research/web/templates/pages/subscriptions.html b/src/local_deep_research/web/templates/pages/subscriptions.htmlindex 185401ba48..77382059e4 100644--- a/src/local_deep_research/web/templates/pages/subscriptions.html+++ b/src/local_deep_research/web/templates/pages/subscriptions.html@@ -99,11 +99,6 @@</span><span class="ldr-scheduler-details" id="scheduler-details"></span></div>- <div class="ldr-scheduler-actions">- <button class="btn btn-sm btn-outline-secondary" id="toggle-scheduler" style="display: none;">- <i class="bi bi-play-fill"></i> Start Scheduler- </button>- </div></div><!-- Subscriptions List -->