Skip to content

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

test: add missing `usage` field to test struct literals

Steven Enamakeldabc1bf844f6
diff --git a/crates/openhuman-core/src/agent/progress_tracing/progress_tracing_attribution_tests.rs b/crates/openhuman-core/src/agent/progress_tracing/progress_tracing_attribution_tests.rs
index 4093a7832a..6c18f8ed37 100644
--- a/crates/openhuman-core/src/agent/progress_tracing/progress_tracing_attribution_tests.rs
+++ b/crates/openhuman-core/src/agent/progress_tracing/progress_tracing_attribution_tests.rs
@@ -617,6 +617,7 @@ fn subagent_span_records_prompt_and_final_output_when_capture_on() {
worktree_path: None,
changed_files: vec![],
dirty_status: None,
+ usage: None,
},
105,
),
diff --git a/crates/openhuman-core/src/agent/progress_tracing/progress_tracing_content_gate_tests.rs b/crates/openhuman-core/src/agent/progress_tracing/progress_tracing_content_gate_tests.rs
index 4fcb63753c..c1179cfe66 100644
--- a/crates/openhuman-core/src/agent/progress_tracing/progress_tracing_content_gate_tests.rs
+++ b/crates/openhuman-core/src/agent/progress_tracing/progress_tracing_content_gate_tests.rs
@@ -17,6 +17,7 @@ fn subagent_content_is_withheld_when_capture_off() {
worktree_path: None,
changed_files: vec![],
dirty_status: None,
+ usage: None,
},
105,
),
diff --git a/crates/openhuman-core/src/threads/turn_state/mirror_observe_tests.rs b/crates/openhuman-core/src/threads/turn_state/mirror_observe_tests.rs
index 41883bef49..b42e2de861 100644
--- a/crates/openhuman-core/src/threads/turn_state/mirror_observe_tests.rs
+++ b/crates/openhuman-core/src/threads/turn_state/mirror_observe_tests.rs
@@ -513,6 +513,7 @@ fn subagent_lifecycle_records_and_clears_active() {
worktree_path: None,
changed_files: Vec::new(),
dirty_status: None,
+ usage: None,
});
let s = m.snapshot();
assert_eq!(s.tool_timeline[0].status, ToolTimelineStatus::Success);