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): await pre_turn inside async block in prefetch test
Steven Enamakel9dcf35979838
diff --git a/crates/openhuman-core/src/memory/lifecycle/prefetch_tests.rs b/crates/openhuman-core/src/memory/lifecycle/prefetch_tests.rsindex 41877bcdd9..3d3396af31 100644--- a/crates/openhuman-core/src/memory/lifecycle/prefetch_tests.rs+++ b/crates/openhuman-core/src/memory/lifecycle/prefetch_tests.rs@@ -427,20 +427,23 @@ async fn slow_engine_results_survive_the_manual_pre_turn_cutoff() {Option<tinymemory_api::ObservedActor>,)| {let (thread, index, text, in_prompt_from, at, resumed, observed_actor) = input;- super::pre_turn(- &crate::core::runtime::DispatchCtx::ambient(),- config,- identity,- thread,- index,- text,- in_prompt_from,- at,- resumed,- observed_actor,- None,- None,- )+ async move {+ super::pre_turn(+ &crate::core::runtime::DispatchCtx::ambient(),+ config,+ identity,+ thread,+ index,+ text,+ in_prompt_from,+ at,+ resumed,+ observed_actor,+ None,+ None,+ )+ .await+ }};let config = Arc::new(config);assert!(pre_turn(config.clone(), identity.clone(), input(0))