Skip to content

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

test(memory): fix tool call field access in hooks test

Steven Enamakel1420cc12faa0
diff --git a/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs b/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs
index 2cb3f322ad..3bbe6fc059 100644
--- a/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs
+++ b/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs
@@ -200,7 +200,7 @@ async fn post_turn_logs_the_reply_and_queues_belief_builds() {
let identity = MemoryIdentity::agent("writer").resolve(&config);
let mut first = reply("t", 1, "Here is the draft.");
- first.tool_calls.push(ToolCallSummary {
+ first.3.push(ToolCallSummary {
name: "read_file".into(),
id: Some("call-1".into()),
result: Some("outline.md: three sections".into()),