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.

docs: the auth-error report still implied .env files are read (#5661)

LearningCircuit8dddeb9aca54
diff --git a/changelog.d/5661.misc.md b/changelog.d/5661.misc.md
new file mode 100644
index 0000000000..df79240d82
--- /dev/null
+++ b/changelog.d/5661.misc.md
@@ -0,0 +1 @@
+The remediation text shown when a research run fails on a missing API key no longer implies a `.env` file is an option — LDR itself reads only the server process's environment. To keep values in a file, hand the file to whatever starts LDR (`docker run --env-file`, Compose `env_file:`, systemd `EnvironmentFile=`).
diff --git a/src/local_deep_research/error_handling/report_generator.py b/src/local_deep_research/error_handling/report_generator.py
index 62d4cbf880..2dedfd5dc8 100644
--- a/src/local_deep_research/error_handling/report_generator.py
+++ b/src/local_deep_research/error_handling/report_generator.py
@@ -393,7 +393,7 @@ We're here to help you get this working:
"No auth credentials found|401.*API key": (
"API key is missing or incorrectly configured.\n\n"
"**Try this:**\n"
- "- Set API key in the web UI settings (not in .env files)\n"
+ "- Set API key in the web UI settings (LDR reads only the server environment, not a .env file)\n"
"- Go to Settings → Advanced → enter your API key\n"
"- For custom endpoints, ensure the key format matches what your provider expects"
),