Skip to content

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

test(openhuman-embed): log runtime build error before panicking

Steven Enamakeld5590764cb03
diff --git a/crates/openhuman-embed/tests/attached_tools.rs b/crates/openhuman-embed/tests/attached_tools.rs
index 228bd3c808..f3af913c81 100644
--- a/crates/openhuman-embed/tests/attached_tools.rs
+++ b/crates/openhuman-embed/tests/attached_tools.rs
@@ -319,7 +319,10 @@ fn attaching_before_first_turn_preserves_and_executes_native_tools() {
let runtime = Runtime::builder()
.config(offline_config()).workspace(Workspace::Ephemeral)
.backend_url(backend.uri()).build().await
- .unwrap_or_else(|error| panic!("runtime build failed: {error:?}"));
+ .unwrap_or_else(|error| {
+ eprintln!("runtime build failed: {error:?}");
+ panic!("runtime build failed")
+ });
let agent = runtime.agent(AgentSpec::new("fresh-attached")
.provider(Provider::openai_compatible(format!("{}/v1",provider.uri()),"fixture").model("fixture"))
.definition(AgentDefinitionSpec::new().system_prompt("ORIGINAL_FRESH_HOST_PROMPT")