Coverage for src/local_deep_research/config/constants.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.14.1, created at 2026-06-03 23:15 +0000

1"""Shared constants used across the codebase.""" 

2 

3DEFAULT_OLLAMA_URL = "http://localhost:11434" 

4DEFAULT_LMSTUDIO_URL = "http://localhost:1234/v1" 

5DEFAULT_LLAMACPP_URL = "http://localhost:8080/v1" 

6 

7# Cap on how many results the LLM relevance filter keeps per search-engine 

8# call. Must match the ``search.max_filtered_results`` entry in 

9# ``defaults/default_settings.json``. Used as the fallback whenever an 

10# engine is constructed without an explicit value (mainly programmatic 

11# mode) or when the LLM filter itself is unavailable and we slice the 

12# unfiltered previews. 

13DEFAULT_MAX_FILTERED_RESULTS = 20