The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(memory): update prefetch call sites for new async signature
Steven Enamakel09beca27412b
diff --git a/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs b/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rsindex d246119df1..a2ca6477e4 100644--- a/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs+++ b/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs@@ -64,7 +64,9 @@ async fn background_prefetch_records_citations_only_when_returning_the_pack() {false,None,None,+ None,)+ .await.is_none());assert!(crate::web_chat::citations::take_turn_citations(&ctx, "citation-thread").is_empty());@@ -88,7 +90,9 @@ async fn background_prefetch_records_citations_only_when_returning_the_pack() {false,None,None,+ None,)+ .await.expect("completed prefetch pack");assert!(pack.refusal.is_none(),diff --git a/crates/openhuman-core/src/memory/schemas_tests.rs b/crates/openhuman-core/src/memory/schemas_tests.rsindex c13cd622dd..cee686e807 100644--- a/crates/openhuman-core/src/memory/schemas_tests.rs+++ b/crates/openhuman-core/src/memory/schemas_tests.rs@@ -551,7 +551,9 @@ async fn rpc_learn_invalidates_a_cached_prefetch_pack() {resumed,observed_actor,None,+ None,)+ .await.is_none());crate::memory::lifecycle::prefetch::settle_for_test(&dispatch, &config, &identity, thread, false,@@ -572,7 +574,9 @@ async fn rpc_learn_invalidates_a_cached_prefetch_pack() {resumed,observed_actor,None,+ None,)+ .await.is_some(),"the initial turn should consume its completed pack");@@ -600,7 +604,9 @@ async fn rpc_learn_invalidates_a_cached_prefetch_pack() {resumed,observed_actor,None,+ None,)+ .await.is_none(),"a later turn must not consume a pack cached before RPC learn");