fix(evidence): fail closed when BM25 is unavailable

This commit is contained in:
2026-08-24 18:21:21 +02:00
parent 29d41ac258
commit 6176410f42
5 changed files with 70 additions and 5 deletions
+1
View File
@@ -367,6 +367,7 @@ class CorpusPipeline:
if (
not health.ok
or health.dimension_compatible is not True
or health.bm25_compatible is False
or health.expected_dimension != self.embedding_dimensions
or health.observed_dimensions != (self.embedding_dimensions,)
):