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: use angle bracket placeholders to avoid gitleaks detection

LearningCircuitcc739b2791ee
diff --git a/.gitleaks.toml b/.gitleaks.toml
index 15ce91202a..125643fd62 100644
--- a/.gitleaks.toml
+++ b/.gitleaks.toml
@@ -96,13 +96,7 @@ commits = [
regexes = [
# Allow comments that explain API key usage but don't contain actual keys
'''# API_KEY: OpenRouter API key''',
- '''OPENROUTER_API_KEY''',
- # Allow documentation placeholders for API keys
- '''your-openrouter-api-key-here''',
- '''your-openai-api-key''',
- '''your-anthropic-api-key''',
- '''your-api-key-here''',
- '''your-key-here'''
+ '''OPENROUTER_API_KEY'''
]
# Target specific files for scanning
diff --git a/docker-compose.yml b/docker-compose.yml
index 20a3d88cad..e9cff106d2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -71,8 +71,8 @@ services:
# ============================================================================
# - LDR_LLM_PROVIDER=ollama # Lock the LLM provider
# - LDR_LLM_MODEL=gemma3:12b # Lock the model selection
- # - LDR_LLM_OPENAI_API_KEY=your-openai-api-key # Lock OpenAI API key
- # - LDR_LLM_ANTHROPIC_API_KEY=your-anthropic-api-key # Lock Anthropic API key
+ # - LDR_LLM_OPENAI_API_KEY=<your-api-key> # Lock OpenAI API key
+ # - LDR_LLM_ANTHROPIC_API_KEY=<your-api-key> # Lock Anthropic API key
# ============================================================================
# OPENROUTER CONFIGURATION
@@ -82,7 +82,7 @@ services:
# ============================================================================
# - LDR_LLM_PROVIDER=openai_endpoint
# - LDR_LLM_OPENAI_ENDPOINT_URL=https://openrouter.ai/api/v1
- # - LDR_LLM_OPENAI_ENDPOINT_API_KEY=your-openrouter-api-key-here
+ # - LDR_LLM_OPENAI_ENDPOINT_API_KEY=<your-api-key>
# - LDR_LLM_MODEL=anthropic/claude-3.5-sonnet # or any OpenRouter model
# ============================================================================
diff --git a/docs/env_configuration.md b/docs/env_configuration.md
index f0853b9429..d5b3a1df50 100644
--- a/docs/env_configuration.md
+++ b/docs/env_configuration.md
@@ -107,7 +107,7 @@ LDR_SERP_API_KEY=your-api-key-here
# Required environment variables for OpenRouter
export LDR_LLM_PROVIDER=openai_endpoint
export LDR_LLM_OPENAI_ENDPOINT_URL=https://openrouter.ai/api/v1
-export LDR_LLM_OPENAI_ENDPOINT_API_KEY=your-openrouter-api-key-here
+export LDR_LLM_OPENAI_ENDPOINT_API_KEY="<your-api-key>"
export LDR_LLM_MODEL=anthropic/claude-3.5-sonnet # or any OpenRouter model
```
@@ -121,7 +121,7 @@ services:
environment:
- LDR_LLM_PROVIDER=openai_endpoint
- LDR_LLM_OPENAI_ENDPOINT_URL=https://openrouter.ai/api/v1
- - LDR_LLM_OPENAI_ENDPOINT_API_KEY=your-openrouter-api-key-here
+ - LDR_LLM_OPENAI_ENDPOINT_API_KEY=<your-api-key>
- LDR_LLM_MODEL=anthropic/claude-3.5-sonnet
```
diff --git a/docs/faq.md b/docs/faq.md
index c1d38a3fd9..4e077dc600 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -278,7 +278,7 @@ Current limitation (#179). Workarounds:
```bash
export LDR_LLM_PROVIDER=openai_endpoint
export LDR_LLM_OPENAI_ENDPOINT_URL=https://openrouter.ai/api/v1
- export LDR_LLM_OPENAI_ENDPOINT_API_KEY=your-openrouter-api-key-here
+ export LDR_LLM_OPENAI_ENDPOINT_API_KEY="<your-api-key>"
export LDR_LLM_MODEL=anthropic/claude-3.5-sonnet
```
@@ -289,7 +289,7 @@ Current limitation (#179). Workarounds:
environment:
- LDR_LLM_PROVIDER=openai_endpoint
- LDR_LLM_OPENAI_ENDPOINT_URL=https://openrouter.ai/api/v1
- - LDR_LLM_OPENAI_ENDPOINT_API_KEY=your-openrouter-api-key-here
+ - LDR_LLM_OPENAI_ENDPOINT_API_KEY=<your-api-key>
- LDR_LLM_MODEL=anthropic/claude-3.5-sonnet
```