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.

moved import to top

LearningCircuit0e9c4329434c
diff --git a/src/local_deep_research/api/research_functions.py b/src/local_deep_research/api/research_functions.py
index 5dc7541ab7..5561ed6c03 100644
--- a/src/local_deep_research/api/research_functions.py
+++ b/src/local_deep_research/api/research_functions.py
@@ -7,7 +7,7 @@ from typing import Dict, List, Optional, Union, Any, Callable
import logging
import os
import traceback
-
+import toml
from ..search_system import AdvancedSearchSystem
from ..report_generator import IntegratedReportGenerator
from ..config import get_llm, get_search, settings
@@ -320,7 +320,7 @@ def get_available_collections() -> Dict[str, Dict[str, Any]]:
Dictionary mapping collection names to their configuration
"""
- import toml
+
from ..config import LOCAL_COLLECTIONS_FILE
if os.path.exists(LOCAL_COLLECTIONS_FILE):