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: Fix test failures and pre-commit issues

LearningCircuite019234de069
diff --git a/src/local_deep_research/config/llm_config.py b/src/local_deep_research/config/llm_config.py
index f6a33633e7..7d7066889b 100644
--- a/src/local_deep_research/config/llm_config.py
+++ b/src/local_deep_research/config/llm_config.py
@@ -267,10 +267,10 @@ def get_llm(
temperature=temperature,
)
except TypeError as e:
- # This happens when passing a class instead of instance or factory
- raise ValueError(
- f"Registered LLM {provider} appears to be a class. "
- f"Please register either an instance or a factory function, not a class. "
+ # Re-raise TypeError with better message
+ raise TypeError(
+ f"Registered LLM factory '{provider}' has invalid signature. "
+ f"Factory functions must accept 'model_name' and 'temperature' parameters. "
f"Error: {e}"
)
diff --git a/src/local_deep_research/database/models/benchmark.py b/src/local_deep_research/database/models/benchmark.py
index 897b3232f4..e4f5286039 100644
--- a/src/local_deep_research/database/models/benchmark.py
+++ b/src/local_deep_research/database/models/benchmark.py
@@ -17,7 +17,6 @@ from sqlalchemy import (
)
from sqlalchemy.orm import relationship
from sqlalchemy_utc import UtcDateTime, utcnow
-from sqlalchemy.sql import func
# Use the same base as the main app