Skip to content

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

chore(storage): remove unused agent storage helpers

Steven Enamakelf944ba75cb67
diff --git a/crates/openhuman-core/src/storage/agents.rs b/crates/openhuman-core/src/storage/agents.rs
index aefa30db79..014d9690a8 100644
--- a/crates/openhuman-core/src/storage/agents.rs
+++ b/crates/openhuman-core/src/storage/agents.rs
@@ -32,7 +32,7 @@ use serde_json::json;
use tinystoragedrivers::{CollectionSpec, Precondition, Query, Scope};
use super::{block_on, installed, DocumentStoreExt, StorageBackend};
-use crate::core::runtime::{AgentContextRegistry, CoreContext};
+use crate::core::runtime::{AgentContextRegistry, CoreContext, DispatchCtx};
/// The `local`-scope collection recording which agents have their own scope.
const AGENTS: &str = "storage_agents";
@@ -245,7 +245,7 @@ pub async fn find_owner<F, Fut>(
probe: F,
) -> Result<Option<Option<String>>, LookupFailed>
where
- F: Fn() -> Fut,
+ F: Fn(DispatchCtx) -> Fut,
Fut: Future<Output = Result<bool, String>>,
{
decide(for_each_scope(label, probe).await)