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 repeated refused tool call turns

Steven Enamakel616f99350b93
diff --git a/crates/openhuman-embed/tests/profile_refused_tool_generation.rs b/crates/openhuman-embed/tests/profile_refused_tool_generation.rs
index 9f13b2db22..4caee4aa90 100644
--- a/crates/openhuman-embed/tests/profile_refused_tool_generation.rs
+++ b/crates/openhuman-embed/tests/profile_refused_tool_generation.rs
@@ -168,6 +168,12 @@ async fn scenario() {
.expect("a refused tool call must not fail the turn");
let denied = handle.chat("t1", "run shell").await;
eprintln!("DENIED TURN: {denied:?}");
+ let denied = handle.chat("t1", "run shell").await;
+ eprintln!("DENIED TURN 2: {denied:?}");
+ let denied = handle.chat("t1", "make a shell job").await;
+ eprintln!("SHELLJOB TURN 3: {denied:?}");
+ let denied = handle.chat("t1", "run shell").await;
+ eprintln!("DENIED TURN 4: {denied:?}");
handle.chat("t1", "and once more").await.unwrap();
let requests = chat_requests(&chat).await;
assert!(