Skip to content

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

test(tinyagents): expand tool call outcome fixture

Steven Enamakele1c5d299698c
diff --git a/crates/openhuman-core/src/agent/tinyagents/context_wiring_tests.rs b/crates/openhuman-core/src/agent/tinyagents/context_wiring_tests.rs
index 4212d515e1..3df4aa703b 100644
--- a/crates/openhuman-core/src/agent/tinyagents/context_wiring_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/context_wiring_tests.rs
@@ -8,8 +8,11 @@ fn outcome_source_returns_captured_content_by_call_id() {
assert!(source.content_for("missing").unwrap().is_none());
sink.lock().unwrap().push(ToolCallOutcome {
call_id: "c1".into(),
+ name: "t".into(),
+ arguments: serde_json::Value::Null,
+ success: true,
content: "body".into(),
- ..Default::default()
+ duration_ms: 0,
});
assert_eq!(source.content_for("c1").unwrap().as_deref(), Some("body"));
}