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: improve 5 setting descriptions and widen tooltip (#2485)

LearningCircuit01df138cdd5a
diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md
index 3e8584c841..986012471f 100644
--- a/docs/CONFIGURATION.md
+++ b/docs/CONFIGURATION.md
@@ -49,7 +49,6 @@ They are not available in the Web UI because they are needed to start the applic
| `LDR_DB_CONFIG_SYNCHRONOUS` | Enum | `'NORMAL'` | No | EXTRA, FULL, NORMAL, OFF | SQLite synchronous mode | Db Config | LDR_DB_SYNCHRONOUS |
| `LDR_NEWS_SCHEDULER_ENABLED` | Boolean | `True` | No | | Enable or disable the news subscription scheduler | News Scheduler | |
| `LDR_SECURITY_CORS_ALLOWED_ORIGINS` | String | `None` | No | | Allowed CORS origins for API routes (comma-separated). Use '*' for all origins, empty for same-origin only. Example: 'https://example.com,https://app.example.com' | Security | |
-| `LDR_SECURITY_SSRF_DISABLE_VALIDATION` | Boolean | `False` | No | | Disable SSRF validation (test/dev only - NEVER in production) | Security | |
| `LDR_SECURITY_WEBSOCKET_ALLOWED_ORIGINS` | String | `None` | No | | Allowed origins for WebSocket/Socket.IO connections (comma-separated). Use '*' for all origins (default), empty for same-origin only. Example: 'https://example.com,https://app.example.com' | Security | |
| `LDR_TESTING_TEST_MODE` | Boolean | `False` | No | | Enable test mode (adds delays for testing concurrency) | Testing | |
| `LDR_TESTING_USE_FALLBACK_LLM` | Boolean | `False` | No | | Use mock LLM for testing (skips API calls and DB operations) | Testing | |
@@ -60,10 +59,10 @@ They are not available in the Web UI because they are needed to start the applic
| Key | Environment Variable | Default Value | Description | Type |
|-----|----------------------|---------------|-------------|------|
| `app.allow_registrations` | `LDR_APP_ALLOW_REGISTRATIONS` | `true` | Allow new user registrations through the web interface. This setting cannot be changed from the UI for security reasons. To disable registration on public-facing deployments, set the environment variable LDR_APP_ALLOW_REGISTRATIONS=false. Enabled by default so initial account creation works out of the box. | APP |
-| `app.debug` | `LDR_APP_DEBUG` | `false` | Produces more informative errors when something goes wrong, but may expose sensitive data. | APP |
+| `app.debug` | `LDR_APP_DEBUG` | `false` | Produces more informative errors when something goes wrong, but may expose sensitive data. This setting cannot be changed from the UI for security reasons. To enable debug mode, set the environment variable LDR_APP_DEBUG=true or edit server_config.json. | APP |
| `app.enable_file_logging` | `LDR_APP_ENABLE_FILE_LOGGING` | `false` | Enable logging to files (WARNING: Log files are unencrypted and may contain sensitive data) | APP |
| `app.enable_notifications` | `LDR_APP_ENABLE_NOTIFICATIONS` | `true` | Enable browser notifications for research events | APP |
-| `app.enable_web` | `LDR_APP_ENABLE_WEB` | `true` | Enable the web server | APP |
+| `app.enable_web` | `LDR_APP_ENABLE_WEB` | `true` | Enable the web interface. When disabled, the application runs in CLI-only mode. Requires server restart to take effect. | APP |
| `app.external_url` | `LDR_APP_EXTERNAL_URL` | `` | Public URL where this application is accessible (e.g., http://localhost:5000, https://myapp.example.com). Used for generating links in notifications. Leave empty to auto-detect from request context. | APP |
| `app.host` | `LDR_APP_HOST` | `0.0.0.0` | Host address to bind the web server | APP |
| `app.lock_settings` | `LDR_APP_LOCK_SETTINGS` | `false` | If true, disables editing for all settings | APP |
@@ -95,8 +94,8 @@ They are not available in the Web UI because they are needed to start the applic
| `focused_iteration.question_generator` | `LDR_FOCUSED_ITERATION_QUESTION_GENERATOR` | `browsecomp` | Algorithm for generating follow-up search queries. 'browsecomp': Extracts entities (names, dates, locations) from the query and systematically combines them - more structured and predictable. 'flexible': Gives the LLM more freedom to explore different search strategies - less rigid but may be less consistent. | SEARCH |
| `focused_iteration.snippet_truncate` | `LDR_FOCUSED_ITERATION_SNIPPET_TRUNCATE` | `200` | Maximum characters per snippet when showing search results to LLM for question generation. Shorter snippets (e.g., 200) reduce token usage and keep context focused. Set to 0 for full snippets. NOTE: This only affects question generation - the final answer synthesis sees full snippets. | SEARCH |
| `general.enable_fact_checking` | `LDR_GENERAL_ENABLE_FACT_CHECKING` | `false` | Enable LLM-based fact verification for research findings. Adds additional validation pass to check claims against sources. | APP |
-| `general.knowledge_accumulation` | `LDR_GENERAL_KNOWLEDGE_ACCUMULATION` | `ITERATION` | How to accumulate knowledge across iterations: 'ITERATION' (carry forward per iteration), 'SECTION' (per section), 'FULL' (all content), 'NONE' (fresh each time). | APP |
-| `general.knowledge_accumulation_context_limit` | `LDR_GENERAL_KNOWLEDGE_ACCUMULATION_CONTEXT_LIMIT` | `2000000` | Maximum token count for accumulated knowledge context. Higher values preserve more history but increase LLM costs/latency. | APP |
+| `general.knowledge_accumulation` | `LDR_GENERAL_KNOWLEDGE_ACCUMULATION` | `ITERATION` | How to compress accumulated knowledge between search iterations. 'ITERATION': Compress and carry forward knowledge after each iteration completes (default). 'QUESTION': Compress after every individual question within an iteration (more aggressive, saves tokens). 'NO_KNOWLEDGE': Start fresh each iteration with no carried-forward context. | APP |
+| `general.knowledge_accumulation_context_limit` | `LDR_GENERAL_KNOWLEDGE_ACCUMULATION_CONTEXT_LIMIT` | `2000000` | Maximum character count for accumulated knowledge context. Reserved for future use — not currently enforced at runtime. | APP |
| `general.output_dir` | `LDR_GENERAL_OUTPUT_DIR` | `research_outputs` | Directory where research report files are saved. Relative paths are relative to the application root. | APP |
| `general.output_instructions` | `LDR_GENERAL_OUTPUT_INSTRUCTIONS` | `` | Customize how research outputs are formatted: language, tone, style, formatting preferences, audience level, etc. Examples: 'Respond in Spanish with formal tone' \| 'Use simple language for beginners' \| 'Be concise with bullet points'. Leave empty for default English output. | APP |
| `llm.anthropic.api_key` | `LDR_LLM_ANTHROPIC_API_KEY` | `` | Your Anthropic API key for Claude models. Get one at console.anthropic.com. Required when using the Anthropic provider. | SEARCH |
@@ -189,64 +188,6 @@ They are not available in the Web UI because they are needed to start the applic
| `search.engine.auto.requires_llm` | `LDR_SEARCH_ENGINE_AUTO_REQUIRES_LLM` | `true` | Whether auto mode uses LLM to select the best engine. When disabled, falls back to rule-based selection. | SEARCH |
| `search.engine.auto.strengths` | `LDR_SEARCH_ENGINE_AUTO_STRENGTHS` | ``["intelligent engine selection", "adaptable to query type", "fallback capabilities"]`` | Key advantages of auto mode: Intelligently selects the best engine for each query type, tries multiple sources if needed. | SEARCH |
| `search.engine.auto.weaknesses` | `LDR_SEARCH_ENGINE_AUTO_WEAKNESSES` | ``["slightly slower due to LLM analysis"]`` | Limitations of auto mode: May use more API calls trying multiple engines, selection heuristics may not always be optimal. | SEARCH |
-| `search.engine.local.local_all.class_name` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_CLASS_NAME` | `LocalAllSearchEngine` | Internal: Python class implementing local document search. Do not modify. | SEARCH |
-| `search.engine.local.local_all.description` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_DESCRIPTION` | `Search only local documents using RAG.` | Human-readable description of the search engine. | SEARCH |
-| `search.engine.local.local_all.display_name` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_DISPLAY_NAME` | `Local Documents` | Display name to use in the U.I. for this search engine. | SEARCH |
-| `search.engine.local.local_all.module_path` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_MODULE_PATH` | `.engines.search_engine_local_all` | Internal: Python module path for local search implementation. Do not modify. | SEARCH |
-| `search.engine.local.local_all.reliability` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_RELIABILITY` | `0.85` | Reliability score (0-1) for local search. Quality depends on your document collection and indexing. | SEARCH |
-| `search.engine.local.local_all.requires_api_key` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_REQUIRES_API_KEY` | `false` | Local document search does not require any external API keys. | SEARCH |
-| `search.engine.local.local_all.requires_llm` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_REQUIRES_LLM` | `true` | Indicates this engine uses the LLM to rerank and filter results for relevance. | SEARCH |
-| `search.engine.local.local_all.strengths` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_STRENGTHS` | ``["searches all local collections", "personal documents", "offline access"]`` | Advantages: Searches all local document collections at once, works offline, uses your private documents. | SEARCH |
-| `search.engine.local.local_all.use_in_auto_search` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_USE_IN_AUTO_SEARCH` | `true` | Include local documents in auto search mode | SEARCH |
-| `search.engine.local.local_all.weaknesses` | `LDR_SEARCH_ENGINE_LOCAL_LOCAL_ALL_WEAKNESSES` | ``["may return too many results", "requires indexing"]`` | Limitations: May return too many results from mixed collections, requires documents to be indexed first. | SEARCH |
-| `search.engine.local.personal_notes.cache_dir` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_CACHE_DIR` | `null` | Directory for storing indexed embeddings and cache files. Uses system cache location by default. | SEARCH |
-| `search.engine.local.personal_notes.chunk_overlap` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_CHUNK_OVERLAP` | `100` | Number of characters to overlap between chunks for context continuity during RAG indexing. | SEARCH |
-| `search.engine.local.personal_notes.chunk_size` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_CHUNK_SIZE` | `500` | Maximum characters per chunk when splitting documents for RAG indexing. Smaller = more precise, larger = more context. | SEARCH |
-| `search.engine.local.personal_notes.description` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_DESCRIPTION` | `Personal notes and documents` | Human-readable description of this document collection shown in the UI. | SEARCH |
-| `search.engine.local.personal_notes.embedding_device` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_EMBEDDING_DEVICE` | `cpu` | Device for computing embeddings. 'cpu' works everywhere; 'cuda' is faster but requires NVIDIA GPU. | SEARCH |
-| `search.engine.local.personal_notes.embedding_model` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_EMBEDDING_MODEL` | `all-MiniLM-L6-v2` | Model for generating text embeddings. Default 'all-MiniLM-L6-v2' is fast and works well; larger models may improve accuracy. | SEARCH |
-| `search.engine.local.personal_notes.embedding_model_type` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_EMBEDDING_MODEL_TYPE` | `sentence_transformers` | Model provider to use for generating document embeddings. | SEARCH |
-| `search.engine.local.personal_notes.enabled` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_ENABLED` | `true` | Enable this document collection for searching. Disable if you don't want to index these documents. | SEARCH |
-| `search.engine.local.personal_notes.max_filtered_results` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_MAX_FILTERED_RESULTS` | `10` | Maximum results to return after LLM relevance filtering. These are the final results used in research. | SEARCH |
-| `search.engine.local.personal_notes.max_results` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_MAX_RESULTS` | `30` | Maximum results from initial vector similarity search, before LLM filters for relevance. | SEARCH |
-| `search.engine.local.personal_notes.name` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_NAME` | `Personal Notes` | Internal identifier for this collection. Used in logs and configuration. | SEARCH |
-| `search.engine.local.personal_notes.paths` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_PATHS` | ``["/local_collections/personal_notes"]`` | File paths to include in this collection. Supports directories (recursively indexed) and individual files. | SEARCH |
-| `search.engine.local.personal_notes.reliability` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_RELIABILITY` | `0.75` | Reliability score (0-1). Personal notes are rated lower (0.75) as they may contain informal or subjective content. | SEARCH |
-| `search.engine.local.personal_notes.strengths` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_STRENGTHS` | ``["personal knowledge", "notes", "private documents"]`` | Advantages: Access to your personal knowledge, notes, and private documents not available elsewhere. | SEARCH |
-| `search.engine.local.personal_notes.use_in_auto_search` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_USE_IN_AUTO_SEARCH` | `false` | Include personal notes in auto search mode | SEARCH |
-| `search.engine.local.personal_notes.weaknesses` | `LDR_SEARCH_ENGINE_LOCAL_PERSONAL_NOTES_WEAKNESSES` | ``["subjective content", "informal information"]`` | Limitations: Content may be subjective, informal, or incomplete compared to published sources. | SEARCH |
-| `search.engine.local.project_docs.cache_dir` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_CACHE_DIR` | `null` | Directory for storing indexed embeddings and cache files. Uses system cache location by default. | SEARCH |
-| `search.engine.local.project_docs.chunk_overlap` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_CHUNK_OVERLAP` | `200` | Number of characters to overlap between chunks for context continuity during RAG indexing. | SEARCH |
-| `search.engine.local.project_docs.chunk_size` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_CHUNK_SIZE` | `1000` | Maximum characters per chunk when splitting documents for RAG indexing. Larger default (1000) suits technical documentation. | SEARCH |
-| `search.engine.local.project_docs.description` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_DESCRIPTION` | `Project documentation and specifications` | Human-readable description of this document collection shown in the UI. | SEARCH |
-| `search.engine.local.project_docs.embedding_device` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_EMBEDDING_DEVICE` | `cpu` | Device for computing embeddings. 'cpu' works everywhere; 'cuda' is faster but requires NVIDIA GPU. | SEARCH |
-| `search.engine.local.project_docs.embedding_model` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_EMBEDDING_MODEL` | `all-MiniLM-L6-v2` | Model for generating text embeddings. Default 'all-MiniLM-L6-v2' is fast and works well; larger models may improve accuracy. | SEARCH |
-| `search.engine.local.project_docs.embedding_model_type` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_EMBEDDING_MODEL_TYPE` | `sentence_transformers` | Model provider to use for generating document embeddings. | SEARCH |
-| `search.engine.local.project_docs.enabled` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_ENABLED` | `true` | Enable this document collection for searching. Disable if you don't want to index these documents. | SEARCH |
-| `search.engine.local.project_docs.max_filtered_results` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_MAX_FILTERED_RESULTS` | `5` | Maximum results to return after LLM relevance filtering. These are the final results used in research. | SEARCH |
-| `search.engine.local.project_docs.max_results` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_MAX_RESULTS` | `20` | Maximum results from initial vector similarity search, before LLM filters for relevance. | SEARCH |
-| `search.engine.local.project_docs.name` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_NAME` | `Project Documents` | Internal identifier for this collection. Used in logs and configuration. | SEARCH |
-| `search.engine.local.project_docs.paths` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_PATHS` | ``["/local_collections/project_docs/"]`` | File paths to include in this collection. Supports directories (recursively indexed) and individual files. | SEARCH |
-| `search.engine.local.project_docs.reliability` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_RELIABILITY` | `0.9` | Reliability score (0-1). Project docs rated moderately (0.8) as they are semi-formal technical content. | SEARCH |
-| `search.engine.local.project_docs.strengths` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_STRENGTHS` | ``["project documentation", "specifications", "internal documents"]`` | Advantages: Access to project-specific technical docs, READMEs, and internal documentation not available online. | SEARCH |
-| `search.engine.local.project_docs.use_in_auto_search` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_USE_IN_AUTO_SEARCH` | `false` | Include project documents in auto search mode | SEARCH |
-| `search.engine.local.project_docs.weaknesses` | `LDR_SEARCH_ENGINE_LOCAL_PROJECT_DOCS_WEAKNESSES` | ``["no external information", "limited to organizational knowledge"]`` | Limitations: May be outdated if docs not maintained, limited scope to specific projects. | SEARCH |
-| `search.engine.local.research_papers.cache_dir` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_CACHE_DIR` | `null` | Directory for storing indexed embeddings and cache files. Uses system cache location by default. | SEARCH |
-| `search.engine.local.research_papers.chunk_overlap` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_CHUNK_OVERLAP` | `150` | Number of characters to overlap between chunks for context continuity during RAG indexing. | SEARCH |
-| `search.engine.local.research_papers.chunk_size` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_CHUNK_SIZE` | `800` | Maximum characters per chunk when splitting papers for RAG indexing. Default (800) balances context and precision. | SEARCH |
-| `search.engine.local.research_papers.description` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_DESCRIPTION` | `Academic research papers and articles` | Human-readable description of this document collection shown in the UI. | SEARCH |
-| `search.engine.local.research_papers.embedding_device` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_EMBEDDING_DEVICE` | `cpu` | Device for computing embeddings. 'cpu' works everywhere; 'cuda' is faster but requires NVIDIA GPU. | SEARCH |
-| `search.engine.local.research_papers.embedding_model` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_EMBEDDING_MODEL` | `all-MiniLM-L6-v2` | Model for generating text embeddings. Consider 'allenai/specter' for academic papers if available. | SEARCH |
-| `search.engine.local.research_papers.embedding_model_type` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_EMBEDDING_MODEL_TYPE` | `sentence_transformers` | Model provider to use for generating document embeddings. | SEARCH |
-| `search.engine.local.research_papers.enabled` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_ENABLED` | `true` | Enable this document collection for searching. Disable if you don't have local research papers. | SEARCH |
-| `search.engine.local.research_papers.max_filtered_results` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_MAX_FILTERED_RESULTS` | `5` | Maximum results to return after LLM relevance filtering. These are the final results used in research. | SEARCH |
-| `search.engine.local.research_papers.max_results` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_MAX_RESULTS` | `20` | Maximum results from initial vector similarity search, before LLM filters for relevance. | SEARCH |
-| `search.engine.local.research_papers.name` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_NAME` | `Research Papers` | Internal identifier for this collection. Used in logs and configuration. | SEARCH |
-| `search.engine.local.research_papers.paths` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_PATHS` | ``["/local_collections/research_papers/"]`` | File paths containing academic papers. Supports PDFs and text formats; directories are indexed recursively. | SEARCH |
-| `search.engine.local.research_papers.reliability` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_RELIABILITY` | `0.85` | Reliability score (0-1). Research papers rated high (0.95) as they are peer-reviewed academic content. | SEARCH |
-| `search.engine.local.research_papers.strengths` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_STRENGTHS` | ``["academic research", "scientific papers", "scholarly content"]`` | Advantages: Access to peer-reviewed academic content, scientific papers, and scholarly research in your collection. | SEARCH |
-| `search.engine.local.research_papers.use_in_auto_search` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_USE_IN_AUTO_SEARCH` | `false` | Include research papers in auto search mode | SEARCH |
-| `search.engine.local.research_papers.weaknesses` | `LDR_SEARCH_ENGINE_LOCAL_RESEARCH_PAPERS_WEAKNESSES` | ``["potentially outdated", "limited to collected papers"]`` | Limitations: Limited to papers in your collection, may be outdated if not regularly updated. | SEARCH |
| `search.engine.web.arxiv.class_name` | `LDR_SEARCH_ENGINE_WEB_ARXIV_CLASS_NAME` | `ArXivSearchEngine` | Internal: Python class implementing the arXiv search engine. | SEARCH |
| `search.engine.web.arxiv.default_params.max_results` | `LDR_SEARCH_ENGINE_WEB_ARXIV_DEFAULT_PARAMS_MAX_RESULTS` | `20` | Maximum number of papers to retrieve from arXiv per search query. | SEARCH |
| `search.engine.web.arxiv.default_params.sort_by` | `LDR_SEARCH_ENGINE_WEB_ARXIV_DEFAULT_PARAMS_SORT_BY` | `relevance` | How to sort arXiv results: 'relevance' for best match, 'lastUpdatedDate' for recently updated, 'submittedDate' for newest submissions. | SEARCH |
@@ -580,7 +521,7 @@ They are not available in the Web UI because they are needed to start the applic
| `search.journal_reputation.max_context` | `LDR_SEARCH_JOURNAL_REPUTATION_MAX_CONTEXT` | `3000` | Maximum characters of source content to include when the LLM evaluates journal quality. Larger values provide more context but use more tokens. | SEARCH |
| `search.journal_reputation.reanalysis_period` | `LDR_SEARCH_JOURNAL_REPUTATION_REANALYSIS_PERIOD` | `265` | How often to refresh cached journal quality assessments. After this period, the LLM will re-evaluate the journal's reputation. | SEARCH |
| `search.journal_reputation.threshold` | `LDR_SEARCH_JOURNAL_REPUTATION_THRESHOLD` | `4` | Minimum journal quality score (1-10 scale) required for academic results. Sources from journals below this threshold are excluded when the filter is enabled. | SEARCH |
-| `search.max_filtered_results` | `LDR_SEARCH_MAX_FILTERED_RESULTS` | `20` | Maximum results to keep after LLM-based relevance filtering. Results above this limit are discarded to focus on the most relevant sources. | SEARCH |
+| `search.max_filtered_results` | `LDR_SEARCH_MAX_FILTERED_RESULTS` | `20` | Per-query limit on results kept after LLM relevance filtering. Raw results (controlled by 'Max Results') are filtered for relevance, then this setting caps how many are kept. Only applies when relevance filtering is active for the search engine. | SEARCH |
| `search.max_results` | `LDR_SEARCH_MAX_RESULTS` | `50` | Maximum raw search results to retrieve from the search engine per query, before any relevance filtering is applied. | SEARCH |
| `search.quality_check_urls` | `LDR_SEARCH_QUALITY_CHECK_URLS` | `true` | Validate that fetched webpage content matches the search result's title and snippet. Helps filter out broken links or mismatched content. | SEARCH |
| `search.question_context_limit` | `LDR_SEARCH_QUESTION_CONTEXT_LIMIT` | `30` | Maximum number of previous search results provided as context when generating follow-up questions in subsequent iterations. Lower values reduce context size and focus on top results. Set to 0 for unlimited. | SEARCH |
diff --git a/src/local_deep_research/defaults/default_settings.json b/src/local_deep_research/defaults/default_settings.json
index 2fb1a43206..255126be1f 100644
--- a/src/local_deep_research/defaults/default_settings.json
+++ b/src/local_deep_research/defaults/default_settings.json
@@ -43,7 +43,7 @@
},
"app.enable_web": {
"category": "app_interface",
- "description": "Enable the web server",
+ "description": "Enable the web interface. When disabled, the application runs in CLI-only mode. Requires server restart to take effect.",
"editable": true,
"max_value": null,
"min_value": null,
@@ -770,7 +770,7 @@
},
"search.max_filtered_results": {
"category": "search_parameters",
- "description": "Maximum results to keep after LLM-based relevance filtering. Results above this limit are discarded to focus on the most relevant sources.",
+ "description": "Per-query limit on results kept after LLM relevance filtering. Raw results (controlled by 'Max Results') are filtered for relevance, then this setting caps how many are kept. Only applies when relevance filtering is active for the search engine.",
"editable": true,
"max_value": 100,
"min_value": 1,
@@ -1910,7 +1910,7 @@
},
"general.knowledge_accumulation": {
"category": null,
- "description": "How to accumulate knowledge across iterations: 'ITERATION' (carry forward per iteration), 'SECTION' (per section), 'FULL' (all content), 'NONE' (fresh each time).",
+ "description": "How to compress accumulated knowledge between search iterations. 'ITERATION': Compress and carry forward knowledge after each iteration completes (default). 'QUESTION': Compress after every individual question within an iteration (more aggressive, saves tokens). 'NO_KNOWLEDGE': Start fresh each iteration with no carried-forward context.",
"editable": true,
"max_value": null,
"min_value": null,
@@ -1924,7 +1924,7 @@
},
"general.knowledge_accumulation_context_limit": {
"category": null,
- "description": "Maximum token count for accumulated knowledge context. Higher values preserve more history but increase LLM costs/latency.",
+ "description": "Maximum character count for accumulated knowledge context. Reserved for future use — not currently enforced at runtime.",
"editable": true,
"max_value": null,
"min_value": null,
@@ -1934,7 +1934,7 @@
"type": "APP",
"ui_element": "text",
"value": 2000000,
- "visible": true
+ "visible": false
},
"general.output_dir": {
"category": null,
diff --git a/src/local_deep_research/web/static/css/settings.css b/src/local_deep_research/web/static/css/settings.css
index d68bb9d202..1b1c6704a3 100644
--- a/src/local_deep_research/web/static/css/settings.css
+++ b/src/local_deep_research/web/static/css/settings.css
@@ -318,7 +318,7 @@
padding: 6px 10px;
border-radius: 4px;
font-size: 0.8rem;
- width: 200px;
+ max-width: 300px;
white-space: normal;
z-index: 10;
margin-top: 5px;
@@ -1421,6 +1421,11 @@
border-radius: 3px;
}
+ /* Cap tooltip width on small screens */
+ .ldr-settings-tooltip:hover::after {
+ max-width: 200px;
+ }
+
/* Fix grid layouts for mobile - CRITICAL for preventing overflow */
.ldr-settings-cards,
.ldr-settings-row,
diff --git a/tests/settings/golden_master_settings.json b/tests/settings/golden_master_settings.json
index 690d596f82..dd18fcae7c 100644
--- a/tests/settings/golden_master_settings.json
+++ b/tests/settings/golden_master_settings.json
@@ -57,7 +57,7 @@
},
"app.enable_web": {
"category": "app_interface",
- "description": "Enable the web server",
+ "description": "Enable the web interface. When disabled, the application runs in CLI-only mode. Requires server restart to take effect.",
"editable": true,
"max_value": null,
"min_value": null,
@@ -714,7 +714,7 @@
},
"general.knowledge_accumulation": {
"category": null,
- "description": "How to accumulate knowledge across iterations: 'ITERATION' (carry forward per iteration), 'SECTION' (per section), 'FULL' (all content), 'NONE' (fresh each time).",
+ "description": "How to compress accumulated knowledge between search iterations. 'ITERATION': Compress and carry forward knowledge after each iteration completes (default). 'QUESTION': Compress after every individual question within an iteration (more aggressive, saves tokens). 'NO_KNOWLEDGE': Start fresh each iteration with no carried-forward context.",
"editable": true,
"max_value": null,
"min_value": null,
@@ -728,7 +728,7 @@
},
"general.knowledge_accumulation_context_limit": {
"category": null,
- "description": "Maximum token count for accumulated knowledge context. Higher values preserve more history but increase LLM costs/latency.",
+ "description": "Maximum character count for accumulated knowledge context. Reserved for future use \u2014 not currently enforced at runtime.",
"editable": true,
"max_value": null,
"min_value": null,
@@ -738,7 +738,7 @@
"type": "APP",
"ui_element": "text",
"value": 2000000,
- "visible": true
+ "visible": false
},
"general.output_dir": {
"category": null,
@@ -7225,7 +7225,7 @@
},
"search.max_filtered_results": {
"category": "search_parameters",
- "description": "Maximum results to keep after LLM-based relevance filtering. Results above this limit are discarded to focus on the most relevant sources.",
+ "description": "Per-query limit on results kept after LLM relevance filtering. Raw results (controlled by 'Max Results') are filtered for relevance, then this setting caps how many are kept. Only applies when relevance filtering is active for the search engine.",
"editable": true,
"max_value": 100,
"min_value": 1,