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
chore: files changed crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs
Steven Enamakel89fc8b1ea9ad
diff --git a/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs b/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rsindex 0022449671..5a0b52c8da 100644--- a/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs+++ b/crates/openhuman-core/src/memory/lifecycle/adapter_tests.rs@@ -56,22 +56,20 @@ async fn background_prefetch_records_citations_only_when_returning_the_pack() {.resolve(&crate::memory::scope::identity_pins(&config));let ctx = crate::core::runtime::DispatchCtx::ambient();- assert!(- super::super::super::prefetch::pre_turn(- &ctx,- config.clone(),- identity.clone(),- "citation-thread".into(),- 0,- "what colour is preferred?".into(),- 0,- Utc::now(),- false,- None,- None,- )- .is_none()- );+ assert!(super::super::super::prefetch::pre_turn(+ &ctx,+ config.clone(),+ identity.clone(),+ "citation-thread".into(),+ 0,+ "what colour is preferred?".into(),+ 0,+ Utc::now(),+ false,+ None,+ None,+ )+ .is_none());assert!(crate::web_chat::citations::take_turn_citations(&ctx, "citation-thread").is_empty());super::super::super::prefetch::settle_for_test(@@ -96,6 +94,11 @@ async fn background_prefetch_records_citations_only_when_returning_the_pack() {None,).expect("completed prefetch pack");+ assert!(+ pack.refusal.is_none(),+ "a refusal is not a shown citation pack"+ );+ assert!(!pack.citations.is_empty(), "the visible pack has citations");let recorded = crate::web_chat::citations::take_turn_citations(&ctx, "citation-thread");assert_eq!(recorded