Skip to content

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

test(agent): add size probe for turn stop types

Steven Enamakel2e47db8d4ee8
diff --git a/crates/openhuman-core/src/agent/turn_stop_tests.rs b/crates/openhuman-core/src/agent/turn_stop_tests.rs
index 13510cc551..12e6b7b34f 100644
--- a/crates/openhuman-core/src/agent/turn_stop_tests.rs
+++ b/crates/openhuman-core/src/agent/turn_stop_tests.rs
@@ -75,3 +75,13 @@ fn an_incomplete_reason_maps_to_cap_or_breaker() {
"stopped: iteration_cap"
);
}
+
+#[test]
+fn zz_size_probe() {
+ eprintln!(
+ "SIZES agent_progress={} turn_stop={} opt_turn_stop={}",
+ std::mem::size_of::<crate::agent::progress::AgentProgress>(),
+ std::mem::size_of::<TurnStop>(),
+ std::mem::size_of::<Option<TurnStop>>()
+ );
+}