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.

Formatting

tombiifd649f9e093b
diff --git a/src/local_deep_research/web/routes/settings_routes.py b/src/local_deep_research/web/routes/settings_routes.py
index 7c932ec504..57c0e5cda7 100644
--- a/src/local_deep_research/web/routes/settings_routes.py
+++ b/src/local_deep_research/web/routes/settings_routes.py
@@ -236,7 +236,9 @@ def save_all_settings():
all_settings = settings_manager.get_all_settings()
# Normalize checkbox form data using shared helper
- form_data = normalize_checkbox_form_data(all_settings, form_data)
+ form_data = normalize_checkbox_form_data(
+ all_settings, form_data
+ )
logger.info(
f"Processed form data with {len(form_data)} settings"
@@ -340,9 +342,7 @@ def save_all_settings():
if current_setting:
# Check if setting is editable before attempting to save
if not current_setting.editable:
- logger.warning(
- f"Skipping non-editable setting: {key}"
- )
+ logger.warning(f"Skipping non-editable setting: {key}")
continue
# Validate the setting
@@ -613,12 +613,12 @@ def save_settings():
# Check if setting is editable before attempting to save
current_setting = (
- db_session.query(Setting).filter(Setting.key == key).first()
+ db_session.query(Setting)
+ .filter(Setting.key == key)
+ .first()
)
if current_setting and not current_setting.editable:
- logger.warning(
- f"Skipping non-editable setting: {key}"
- )
+ logger.warning(f"Skipping non-editable setting: {key}")
continue
# Save the setting