~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: handle both settings snapshot formats in get_setting_from_snapshot
LearningCircuit989327350e35
diff --git a/src/local_deep_research/config/thread_settings.py b/src/local_deep_research/config/thread_settings.pyindex 5be5dfeb51..fc974ff45a 100644--- a/src/local_deep_research/config/thread_settings.py+++ b/src/local_deep_research/config/thread_settings.py@@ -57,20 +57,31 @@ def get_setting_from_snapshot(# First check if we have settings_snapshot passed directlyvalue = Noneif settings_snapshot and key in settings_snapshot:- value = settings_snapshot[key]- value = get_typed_setting_value(- key,- value["value"],- value.get("ui_element", "text"), # Default to "text" if missing- )+ raw_value = settings_snapshot[key]+ # Handle both formats:+ # 1. Full dict format: {"value": ..., "ui_element": ...}+ # 2. Simplified format: just the value (from get_settings_snapshot())+ if isinstance(raw_value, dict) and "value" in raw_value:+ value = get_typed_setting_value(+ key,+ raw_value["value"],+ raw_value.get("ui_element", "text"),+ )+ else:+ # Simplified format - value is already the raw value+ value = get_typed_setting_value(key, raw_value, "text")# Search for child keys.elif settings_snapshot:for k, v in settings_snapshot.items():if k.startswith(f"{key}."):k = k.removeprefix(f"{key}.")- v = get_typed_setting_value(- key, v["value"], v.get("ui_element", "text")- ) # Default to "text" if missing+ # Handle both formats for child keys too+ if isinstance(v, dict) and "value" in v:+ v = get_typed_setting_value(+ key, v["value"], v.get("ui_element", "text")+ )+ else:+ v = get_typed_setting_value(key, v, "text")if value is None:value = {k: v}else: