Skip to content

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

test(openhuman-embed): surface gamma turn errors in runtime agent test

Steven Enamakel0329870a0b01
diff --git a/crates/openhuman-embed/tests/runtime_agents.rs b/crates/openhuman-embed/tests/runtime_agents.rs
index 215ce5140c..70a1939739 100644
--- a/crates/openhuman-embed/tests/runtime_agents.rs
+++ b/crates/openhuman-embed/tests/runtime_agents.rs
@@ -485,7 +485,13 @@ fn one_runtime_hosts_independently_configured_agents() {
);
// Managed inference authenticates with the runtime's API key.
- let g1 = gamma.run("hello from gamma").await.expect("gamma turn");
+ let g1 = match gamma.run("hello from gamma").await {
+ Ok(outcome) => outcome,
+ Err(error) => {
+ eprintln!("gamma turn failed: {error:#}");
+ panic!("gamma turn");
+ }
+ };
assert!(g1.reply.contains("managed-ok"), "{:?}", g1.reply);
let managed: Vec<_> = backend
.received_requests()