Skip to content

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

test(openhuman-embed): add tracing setup to refused tool generation test

Steven Enamakelaaedf5309671
diff --git a/crates/openhuman-embed/tests/profile_refused_tool_generation.rs b/crates/openhuman-embed/tests/profile_refused_tool_generation.rs
index 814e137aa1..ed5786d081 100644
--- a/crates/openhuman-embed/tests/profile_refused_tool_generation.rs
+++ b/crates/openhuman-embed/tests/profile_refused_tool_generation.rs
@@ -98,6 +98,10 @@ impl CronDelivery for Recorder {
#[test]
fn refused_tool_call_after_a_successful_cron_call_in_the_same_thread_does_not_fail_the_turn() {
+ let _ = tracing_subscriber::fmt()
+ .with_env_filter("warn,openhuman_core=info")
+ .with_test_writer()
+ .try_init();
runtime_without_master_key().block_on(async {
tokio::spawn(scenario()).await.unwrap();
});