~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: rename "Custom OpenAI Endpoint" to "OpenAI-Compatible Endpoint" (#2745) (#2818)
LearningCircuit8ea47876269b
diff --git a/docs/env_configuration.md b/docs/env_configuration.mdindex 9e66ac8d6c..edf5c92764 100644--- a/docs/env_configuration.md+++ b/docs/env_configuration.md@@ -57,7 +57,7 @@ For the full list of API key environment variables, see [CONFIGURATION.md](CONFI**Method 1: Via Web UI (Recommended)**- Navigate to Settings → LLM Provider-- Select "Custom OpenAI Endpoint"+- Select "OpenAI-Compatible Endpoint"- Set Endpoint URL to: `https://openrouter.ai/api/v1`- Enter your OpenRouter API key- Select your desired model@@ -88,7 +88,7 @@ services:**Available Models**: Browse models at [openrouter.ai/models](https://openrouter.ai/models)-**Note**: OpenRouter uses the OpenAI-compatible API, so you select "Custom OpenAI Endpoint" as the provider and change the endpoint URL to OpenRouter's API.+**Note**: OpenRouter uses the OpenAI-compatible API, so you select "OpenAI-Compatible Endpoint" as the provider and change the endpoint URL to OpenRouter's API.### Other OpenAI-Compatible Providersdiff --git a/docs/faq.md b/docs/faq.mdindex 7b19cb323e..68cca72689 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -290,7 +290,7 @@ Current limitation (#179). Workarounds:2. **Configure via Web UI** (Recommended):- Navigate to Settings → LLM Provider- - Select "Custom OpenAI Endpoint" (not "OpenRouter" - use the generic OpenAI endpoint option)+ - Select "OpenAI-Compatible Endpoint" (not "OpenRouter" - use the generic OpenAI endpoint option)- Set Endpoint URL: `https://openrouter.ai/api/v1`- Enter your OpenRouter API key- Select a model from the dropdown (it will auto-populate with OpenRouter models)@@ -319,7 +319,7 @@ Current limitation (#179). Workarounds:**Common Issues**:- **"Model not found"**: Ensure the model name exactly matches OpenRouter's format (e.g., `anthropic/claude-3.5-sonnet`)- **Authentication errors**: Verify your API key is correct and has credits-- **Can't find OpenRouter in provider list**: Select "Custom OpenAI Endpoint" instead+- **Can't find OpenRouter in provider list**: Select "OpenAI-Compatible Endpoint" insteadSee also: [Environment Variables Documentation](env_configuration.md#openrouter) | [Full Configuration Reference](CONFIGURATION.md)diff --git a/src/local_deep_research/config/llm_config.py b/src/local_deep_research/config/llm_config.pyindex 73e36333e7..c9f39e447c 100644--- a/src/local_deep_research/config/llm_config.py+++ b/src/local_deep_research/config/llm_config.py@@ -195,7 +195,7 @@ def get_available_providers(settings_snapshot=None):providers["openrouter"] = "OpenRouter API"if is_openai_endpoint_available(settings_snapshot):- providers["openai_endpoint"] = "OpenAI-compatible Endpoint"+ providers["openai_endpoint"] = "OpenAI-Compatible Endpoint"if is_lmstudio_available(settings_snapshot):providers["lmstudio"] = "LM Studio (local models)"diff --git a/src/local_deep_research/defaults/default_settings.json b/src/local_deep_research/defaults/default_settings.jsonindex 8fdd9eb993..cb20aa2d88 100644--- a/src/local_deep_research/defaults/default_settings.json+++ b/src/local_deep_research/defaults/default_settings.json@@ -592,7 +592,7 @@"value": "vllm"},{- "label": "Custom OpenAI-compatible API",+ "label": "OpenAI-Compatible Endpoint (llama.cpp, vLLM, etc.)","value": "openai_endpoint"},{diff --git a/src/local_deep_research/llm/providers/implementations/custom_openai_endpoint.py b/src/local_deep_research/llm/providers/implementations/custom_openai_endpoint.pyindex 1b4a0bd324..fac6f6cf3e 100644--- a/src/local_deep_research/llm/providers/implementations/custom_openai_endpoint.py+++ b/src/local_deep_research/llm/providers/implementations/custom_openai_endpoint.py@@ -17,7 +17,7 @@ class CustomOpenAIEndpointProvider(OpenAICompatibleProvider):by specifying a custom URL in the settings."""- provider_name = "Custom OpenAI Endpoint"+ provider_name = "OpenAI-Compatible Endpoint"api_key_setting = "llm.openai_endpoint.api_key"url_setting = "llm.openai_endpoint.url" # Settings key for URLdefault_base_url = "https://api.openai.com/v1"@@ -25,7 +25,7 @@ class CustomOpenAIEndpointProvider(OpenAICompatibleProvider):# Metadata for auto-discoveryprovider_key = "OPENAI_ENDPOINT"- company_name = "Custom"+ company_name = "OpenAI-Compatible"is_cloud = None # Unknown — could be local or cloud@classmethod@@ -128,4 +128,4 @@ def is_openai_endpoint_available(settings_snapshot=None):def register_custom_openai_endpoint_provider():"""Register the custom OpenAI endpoint provider with the LLM registry."""register_llm("openai_endpoint", create_openai_endpoint_llm)- logger.info("Registered Custom OpenAI Endpoint LLM provider")+ logger.info("Registered OpenAI-Compatible Endpoint LLM provider")diff --git a/src/local_deep_research/web/routes/settings_routes.py b/src/local_deep_research/web/routes/settings_routes.pyindex e40fe2665e..d3a9b740b6 100644--- a/src/local_deep_research/web/routes/settings_routes.py+++ b/src/local_deep_research/web/routes/settings_routes.py@@ -1112,7 +1112,10 @@ def api_get_available_models():provider_options.extend([{"value": "VLLM", "label": "vLLM (Local)"},- {"value": "LLAMACPP", "label": "Llama.cpp (Local)"},+ {+ "value": "LLAMACPP",+ "label": "Llama.cpp (Local GGUF files only)",+ },])@@ -1305,7 +1308,7 @@ def api_get_available_models():logger.info("Error getting Ollama models - no models to display")providers["ollama_models"] = []- # Note: Custom OpenAI Endpoint models are fetched via auto-discovery+ # Note: OpenAI-Compatible Endpoint models are fetched via auto-discovery# (see the auto-discovery loop below which handles OPENAI_ENDPOINT provider)# Get OpenAI models using the OpenAI packagediff --git a/src/local_deep_research/web/static/js/components/settings.js b/src/local_deep_research/web/static/js/components/settings.jsindex 80cf34dc98..b76c9e9083 100644--- a/src/local_deep_research/web/static/js/components/settings.js+++ b/src/local_deep_research/web/static/js/components/settings.js@@ -3346,7 +3346,7 @@});}- // Add Custom OpenAI Endpoint models if available+ // Add OpenAI-Compatible Endpoint models if availableif (data.providers && data.providers.openai_endpoint_models && data.providers.openai_endpoint_models.length > 0) {const openai_endpoint_models = data.providers.openai_endpoint_models;SafeLogger.log('Found OpenAI Endpoint models:', openai_endpoint_models.length);@@ -4141,7 +4141,7 @@{ value: 'ollama', label: 'Ollama (Local)' },{ value: 'openai', label: 'OpenAI (Cloud)' },{ value: 'anthropic', label: 'Anthropic (Cloud)' },- { value: 'openai_endpoint', label: 'Custom OpenAI Endpoint' }+ { value: 'openai_endpoint', label: 'OpenAI-Compatible Endpoint (llama.cpp, vLLM, etc.)' }];optionsSource = MODEL_PROVIDERS;@@ -4430,10 +4430,10 @@{ value: 'OLLAMA', label: 'Ollama (Local)' },{ value: 'OPENAI', label: 'OpenAI (Cloud)' },{ value: 'ANTHROPIC', label: 'Anthropic (Cloud)' },- { value: 'OPENAI_ENDPOINT', label: 'Custom OpenAI Endpoint' },+ { value: 'OPENAI_ENDPOINT', label: 'OpenAI-Compatible Endpoint (llama.cpp, vLLM, etc.)' },{ value: 'VLLM', label: 'vLLM (Local)' },{ value: 'LMSTUDIO', label: 'LM Studio (Local)' },- { value: 'LLAMACPP', label: 'Llama.cpp (Local)' }+ { value: 'LLAMACPP', label: 'Llama.cpp (Local GGUF files only)' }];/**diff --git a/src/local_deep_research/web/templates/pages/benchmark.html b/src/local_deep_research/web/templates/pages/benchmark.htmlindex 7b2909623e..fcaa00dccf 100644--- a/src/local_deep_research/web/templates/pages/benchmark.html+++ b/src/local_deep_research/web/templates/pages/benchmark.html@@ -2415,10 +2415,10 @@ function populateEvaluationProviders() {{ value: 'ollama', label: 'Ollama (Local)' },{ value: 'openai', label: 'OpenAI (Cloud)' },{ value: 'anthropic', label: 'Anthropic (Cloud)' },- { value: 'openai_endpoint', label: 'Custom OpenAI Endpoint' },+ { value: 'openai_endpoint', label: 'OpenAI-Compatible Endpoint' },{ value: 'vllm', label: 'vLLM (Local)' },{ value: 'lmstudio', label: 'LM Studio (Local)' },- { value: 'llamacpp', label: 'Llama.cpp (Local)' }+ { value: 'llamacpp', label: 'Llama.cpp (Local GGUF files only)' }];// Add optionsdiff --git a/tests/config/test_llm_config_coverage.py b/tests/config/test_llm_config_coverage.pyindex 17afe30232..2a964146df 100644--- a/tests/config/test_llm_config_coverage.py+++ b/tests/config/test_llm_config_coverage.py@@ -556,7 +556,7 @@ class TestGetAvailableProviders:with _patch_all_availability(openai_endpoint=True):result = get_available_providers()assert "openai_endpoint" in result- assert result["openai_endpoint"] == "OpenAI-compatible Endpoint"+ assert result["openai_endpoint"] == "OpenAI-Compatible Endpoint"def test_only_lmstudio_available(self):from local_deep_research.config.llm_config import (diff --git a/tests/llm_providers/test_custom_endpoint_ci_integration.py b/tests/llm_providers/test_custom_endpoint_ci_integration.pyindex 5610093829..39cdacc65b 100644--- a/tests/llm_providers/test_custom_endpoint_ci_integration.py+++ b/tests/llm_providers/test_custom_endpoint_ci_integration.py@@ -1,5 +1,5 @@"""-CI Integration tests for Custom OpenAI Endpoint.+CI Integration tests for OpenAI-Compatible Endpoint.These tests use real API calls to verify the custom endpoint URL handling works.They require OPENROUTER_API_KEY to be set in the environment (available in CI).diff --git a/tests/llm_providers/test_custom_openai_endpoint.py b/tests/llm_providers/test_custom_openai_endpoint.pyindex 3f368faad1..d3775272d9 100644--- a/tests/llm_providers/test_custom_openai_endpoint.py+++ b/tests/llm_providers/test_custom_openai_endpoint.py@@ -1,5 +1,5 @@"""-Tests for Custom OpenAI Endpoint provider.+Tests for OpenAI-Compatible Endpoint provider.These tests ensure that custom OpenAI-compatible endpoints work correctly,especially with private IP addresses commonly used in Docker/self-hosted setups.@@ -26,7 +26,7 @@ class TestCustomOpenAIEndpointProviderMetadata:"""Provider name is correctly set."""assert (CustomOpenAIEndpointProvider.provider_name- == "Custom OpenAI Endpoint"+ == "OpenAI-Compatible Endpoint")def test_provider_key(self):diff --git a/tests/llm_providers/test_custom_openai_high_value.py b/tests/llm_providers/test_custom_openai_high_value.pyindex 2e67922539..b4d40bea46 100644--- a/tests/llm_providers/test_custom_openai_high_value.py+++ b/tests/llm_providers/test_custom_openai_high_value.py@@ -1,4 +1,4 @@-"""High-value tests for Custom OpenAI endpoint provider edge cases.+"""High-value tests for OpenAI-Compatible endpoint provider edge cases.Focuses on the unique is_available logic (URL-based availability),create_llm URL passthrough, and backward compatibility functions.diff --git a/tests/settings/golden_master_settings.json b/tests/settings/golden_master_settings.jsonindex 88578f91ae..848a05c8bf 100644--- a/tests/settings/golden_master_settings.json+++ b/tests/settings/golden_master_settings.json@@ -1105,7 +1105,7 @@"value": "vllm"},{- "label": "Custom OpenAI-compatible API",+ "label": "OpenAI-Compatible Endpoint (llama.cpp, vLLM, etc.)","value": "openai_endpoint"},{