Skip to content

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

test(session_host): update product copy tests for summary api

Steven Enamakel029788af9350
diff --git a/crates/openhuman-core/src/agent/session_host/product_copy_tests.rs b/crates/openhuman-core/src/agent/session_host/product_copy_tests.rs
index 8d88dfefa3..e0ce290e58 100644
--- a/crates/openhuman-core/src/agent/session_host/product_copy_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/product_copy_tests.rs
@@ -251,7 +251,6 @@ fn the_final_summary_quotes_each_failure_message() {
false,
"no direct download. View it at https://example.test/demo",
)],
- None,
);
assert!(
out.contains("`install_item` — failed"),
@@ -274,7 +273,7 @@ fn the_final_summary_quotes_each_failure_message() {
/// raw records. The detailed cases live in `stop_summary_tests.rs`.
#[test]
fn the_final_summary_of_a_halted_turn_gives_a_reason_and_names_the_tools() {
- let out = build_deterministic_final_summary(
+ let out = super::super::stop_summary::deterministic_final_summary(
&[result("install_item", false, "no direct download")],
Some(STOP_NOTE),
);