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: correct field names in queue processor for progress updates

LearningCircuitabdd7a5e03ba
diff --git a/src/local_deep_research/web/queue/processor_v2.py b/src/local_deep_research/web/queue/processor_v2.py
index 8455d09f64..fdfb51afd9 100644
--- a/src/local_deep_research/web/queue/processor_v2.py
+++ b/src/local_deep_research/web/queue/processor_v2.py
@@ -791,17 +791,12 @@ class QueueProcessorV2:
research = (
db_session.query(ResearchHistory)
- .filter_by(research_id=op_data["research_id"])
+ .filter_by(id=op_data["research_id"])
.first()
)
if research:
- # Store progress in metadata or wherever appropriate
- if research.metadata:
- research.metadata["progress"] = op_data["progress"]
- else:
- research.metadata = {
- "progress": op_data["progress"]
- }
+ # Update the progress column directly
+ research.progress = op_data["progress"]
db_session.commit()
processed_count += 1
@@ -811,13 +806,13 @@ class QueueProcessorV2:
research = (
db_session.query(ResearchHistory)
- .filter_by(research_id=op_data["research_id"])
+ .filter_by(id=op_data["research_id"])
.first()
)
if research:
research.status = op_data["status"]
research.error_message = op_data["error_message"]
- research.metadata = op_data["metadata"]
+ research.research_meta = op_data["metadata"]
research.completed_at = op_data["completed_at"]
if op_data.get("report_path"):
research.report_path = op_data["report_path"]