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: make OpenAI endpoint API key field clearly optional in UI (#3892)

AI-Bot97dc4d84d072
diff --git a/src/local_deep_research/defaults/default_settings.json b/src/local_deep_research/defaults/default_settings.json
index 8f2a149d85..9d0a5a69f2 100644
--- a/src/local_deep_research/defaults/default_settings.json
+++ b/src/local_deep_research/defaults/default_settings.json
@@ -636,7 +636,7 @@
},
"llm.openai_endpoint.api_key": {
"category": "llm_general",
- "description": "API key for your custom OpenAI-compatible endpoint. For cloud services (OpenRouter, Groq), use your actual API key. For local servers (llama.cpp, vLLM), use any non-empty value like 'not-needed'.",
+ "description": "API key for your custom OpenAI-compatible endpoint. For cloud services (OpenRouter, Groq), use your actual API key. For local servers (llama.cpp, vLLM), you can leave this blank — LDR will substitute a placeholder automatically.",
"editable": true,
"max_value": null,
"min_value": null,
diff --git a/src/local_deep_research/web/templates/pages/research.html b/src/local_deep_research/web/templates/pages/research.html
index eb7c14b30e..2bb4b2f8bc 100644
--- a/src/local_deep_research/web/templates/pages/research.html
+++ b/src/local_deep_research/web/templates/pages/research.html
@@ -167,10 +167,10 @@
<!-- OpenAI Endpoint API Key (hidden by default) -->
<div class="ldr-form-group ldr-half" id="openai_endpoint_api_key_container" style="display: none;">
- <label for="openai_endpoint_api_key">Endpoint API Key</label>
+ <label for="openai_endpoint_api_key">Endpoint API Key (Optional)</label>
<input type="password" id="openai_endpoint_api_key" name="openai_endpoint_api_key" class="ldr-form-control"
placeholder="API key (if required)" autocomplete="off">
- <span class="ldr-input-help">API key for your OpenAI-compatible endpoint</span>
+ <span class="ldr-input-help">Leave blank for local servers (llama.cpp, vLLM, LM Studio). Required only for hosted services (OpenRouter, Groq, Together, etc.).</span>
</div>
<!-- Ollama API Key (hidden by default, optional for authenticated instances) -->