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
fix(memory): use the resolved thread id in the reply-not-logged warning
Steven Enamakelc8d39dc2cee3
diff --git a/crates/openhuman-core/src/memory/lifecycle/hooks.rs b/crates/openhuman-core/src/memory/lifecycle/hooks.rsindex 7cf8964fbf..c25055782c 100644--- a/crates/openhuman-core/src/memory/lifecycle/hooks.rs+++ b/crates/openhuman-core/src/memory/lifecycle/hooks.rs@@ -404,7 +404,7 @@ pub async fn post_turn(}Err(error) => {tracing::warn!(- thread_id = %input.thread_id,+ thread_id = %thread_id,%error,elapsed_ms,"[memory:hooks] reply not logged"diff --git a/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs b/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rsindex f9ece7204e..3ff2b2884d 100644--- a/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs+++ b/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs@@ -508,8 +508,8 @@ async fn a_resumed_session_pack_stays_within_one_budget_and_repeats_nothing() {}let mut resumed = input("t-resumed", 12, "when does the Lisbon release ship?");- resumed.resumed_after_compaction = true;- resumed.in_prompt_from = 12;+ resumed.5 = true;+ resumed.3 = 12;let pack = run_pre_turn(&crate::core::runtime::DispatchCtx::ambient(),&config,@@ -568,8 +568,8 @@ async fn a_resumed_session_without_logging_still_opens_with_the_thread() {config.memory.conversations.enabled = false;let reader = MemoryIdentity::agent("orchestrator").resolve(&config);let mut resumed = input("t-quiet", 2, "remind me where the offsite is");- resumed.resumed_after_compaction = true;- resumed.in_prompt_from = 2;+ resumed.5 = true;+ resumed.3 = 2;let pack = run_pre_turn(&crate::core::runtime::DispatchCtx::ambient(),&config,@@ -614,7 +614,7 @@ async fn a_blank_turn_is_refused_without_a_pack_with_or_without_logging() {.await.is_none());let mut resumed = input(" ", 4, "where were we?");- resumed.resumed_after_compaction = true;+ resumed.5 = true;assert!(run_pre_turn(&crate::core::runtime::DispatchCtx::ambient(),&config,