Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed src/openhuman/util/bm25.rs

Steven Enamakel8e0c872b3b58
diff --git a/src/openhuman/util/bm25.rs b/src/openhuman/util/bm25.rs
index f91d15beec..65279e1cbd 100644
--- a/src/openhuman/util/bm25.rs
+++ b/src/openhuman/util/bm25.rs
@@ -134,7 +134,6 @@ impl Bm25Index {
if terms.is_empty() || self.documents.is_empty() {
return Vec::new();
}
- let count = self.documents.len() as f64;
let mut scored: Vec<(f64, usize)> = self
.documents
.iter()