Skip to content

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

chore: files changed crates/openhuman-core/src/storage/documents.rs

Steven Enamakele31bd45e12f9
diff --git a/crates/openhuman-core/src/storage/documents.rs b/crates/openhuman-core/src/storage/documents.rs
index 1a0d3653d7..ed0b7e5738 100644
--- a/crates/openhuman-core/src/storage/documents.rs
+++ b/crates/openhuman-core/src/storage/documents.rs
@@ -132,7 +132,7 @@ impl Repo {
.into_iter()
.filter(|spec| {
origin.as_ref().is_none_or(|origin| {
- !is_declared(&origin.backend, &origin.scope, spec.name)
+ !is_declared(&origin.backend, &origin.scope, &spec.name)
})
})
.collect();
@@ -142,7 +142,7 @@ impl Repo {
for spec in &specs {
docs.ensure_collection(spec).await?;
if let Some(origin) = &origin {
- mark_declared(&origin.backend, &origin.scope, spec.name);
+ mark_declared(&origin.backend, &origin.scope, &spec.name);
}
}
future.await