Skip to content

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

test(cron_agents): log cron provider request body

Steven Enamakel4fb8b8813e99
diff --git a/crates/openhuman-embed/tests/cron_agents.rs b/crates/openhuman-embed/tests/cron_agents.rs
index fe6e096790..2dda71462d 100644
--- a/crates/openhuman-embed/tests/cron_agents.rs
+++ b/crates/openhuman-embed/tests/cron_agents.rs
@@ -185,6 +185,7 @@ fn a_scheduled_job_runs_a_runtime_agent_with_its_host_tool_as_cron() {
let first_request = String::from_utf8_lossy(&requests[0].body).to_string();
assert!(first_request.contains("TEENY_CRON_PROMPT"));
let first_body: serde_json::Value = serde_json::from_slice(&requests[0].body).unwrap();
+ eprintln!("cron provider request body: {first_body}");
assert_eq!(
first_body["provider"],
serde_json::json!({"sort": "latency"})