Skip to content

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

fix(tests): change max_model_calls type from u64 to usize

Steven Enamakel04dca7c86f07
diff --git a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs
index 65047af559..8a04ec61ee 100644
--- a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs
@@ -59,7 +59,7 @@ async fn drive_with(
subagent: bool,
agent: Option<&str>,
wrap_up: WrapUp,
- max_model_calls: u64,
+ max_model_calls: usize,
) -> (usize, String) {
let mut responses: Vec<ModelResponse> = (0..rounds)
.map(|i| tool_round(&format!("c{i}"), tool))