Evidence Lab v1.5.1
Evidence Lab v1.5.1 is a hotfix release that repairs the host-mode demo (scripts/demo/run_demo.py --mode host) following the README quickstart. Two bugs made a vanilla host run fail before any documents were indexed; both are now fixed and covered by regression tests.
Fixed
- Summarizer no longer requires a HuggingFace token for non-HuggingFace providers.
SummarizeProcessor.setup()demandedHUGGINGFACE_API_KEYunconditionally, even though the token is unused unless the LLM provider is HuggingFace. This blocked the demo’s default Azure Foundry provider (and Google Vertex) for users supplying only their provider’s own credentials. The requirement is now scoped toprovider == "huggingface". - Empty
DATA_MOUNT_PATHno longer breaks host-mode document scanning..env.exampleshipsDATA_MOUNT_PATH=(empty); in host modeos.getenv("DATA_MOUNT_PATH", "./data")returned""(a present-but-empty var defeats the default), collapsing the scan path to an absolute/<source>/pdfsso no documents were found. Addedresolve_data_mount_path()(treats empty as the./datadefault) and routed all host path-resolution sites through it. Docker mode was unaffected (it setsDATA_MOUNT_PATH=/app/dataexplicitly).
Tests
- Added regression tests for
resolve_data_mount_path()(empty/unset/set) and for the summarizer’s provider-scoped HuggingFace requirement.
Full diff: https://github.com/dividor/evidencelab/compare/v1.5.0...v1.5.1 (opens in a new tab)