~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: show queue position on research progress page (#3283)
LearningCircuita01001e16f7c
diff --git a/src/local_deep_research/web/routes/api_routes.py b/src/local_deep_research/web/routes/api_routes.pyindex 865c3a7c1f..ad412121a6 100644--- a/src/local_deep_research/web/routes/api_routes.py+++ b/src/local_deep_research/web/routes/api_routes.py@@ -7,9 +7,10 @@ from flask import ()from loguru import logger-from ...database.models import ResearchHistory+from ...database.models import QueuedResearch, ResearchHistoryfrom ...database.session_context import get_user_db_sessionfrom ...config.constants import DEFAULT_OLLAMA_URL+from ...constants import ResearchStatusfrom ...utilities.url_utils import normalize_urlfrom ...security.decorators import require_json_bodyfrom ..auth.decorators import login_required@@ -114,6 +115,16 @@ def api_research_status(research_id):"metadata": strip_settings_snapshot(research.research_meta),}+ # Include queue position for queued research+ if research.status == ResearchStatus.QUEUED:+ queued = (+ db_session.query(QueuedResearch)+ .filter_by(research_id=research_id)+ .first()+ )+ if queued:+ result["queue_position"] = queued.position+return jsonify(result)except Exception:logger.exception("Error getting research status")diff --git a/src/local_deep_research/web/static/js/components/progress.js b/src/local_deep_research/web/static/js/components/progress.jsindex 9b868e4c44..9eda13ebc8 100644--- a/src/local_deep_research/web/static/js/components/progress.js+++ b/src/local_deep_research/web/static/js/components/progress.js@@ -558,6 +558,11 @@statusMsg = null; // Skip update}break;+ case window.RESEARCH_STATUS.QUEUED:+ statusMsg = data.queue_position+ ? `Waiting in queue (position ${data.queue_position})...`+ : 'Waiting in queue...';+ break;default:statusMsg = `${data.status.charAt(0).toUpperCase() + data.status.slice(1).replace('_', ' ')}...`;}@@ -891,6 +896,13 @@error: status.message || 'Unknown error'});}+ // If queued, show queue status and set up polling+ else if (status.status === window.RESEARCH_STATUS.QUEUED) {+ updateProgressUI(status);+ if (!pollInterval) {+ pollInterval = setInterval(checkProgress, 5000);+ }+ }// Otherwise update progresselse {updateProgressUI(status);