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 grounded close tests for new signatures

Steven Enamakel5c28a0cda799
diff --git a/crates/openhuman-core/src/agent/session_host/driver/grounded_close_tests.rs b/crates/openhuman-core/src/agent/session_host/driver/grounded_close_tests.rs
index 26d77c78a6..9a62993743 100644
--- a/crates/openhuman-core/src/agent/session_host/driver/grounded_close_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/driver/grounded_close_tests.rs
@@ -135,7 +135,7 @@ async fn grounded_close_uses_the_selected_model_and_keeps_verifier_out_of_contex
let expected_history: Vec<_> = history
.iter()
.filter_map(tinyagents_runtime::transcript::message_to_native_transcript)
- .map(crate::agent::tinyagents::chat_message_to_message)
+ .map(|message| crate::agent::tinyagents::chat_message_to_message(&message))
.collect();
assert_eq!(
&requests[0].messages[..expected_history.len()],
@@ -185,6 +185,7 @@ async fn required_output_repair_preserves_all_host_output_placements() {
&source,
"test-model",
0.0,
+ None,
Some(&progress),
&tinytools_agent::dialect::NativeDialect,
&contract,