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 runtime build errors in attached tools test

Steven Enamakeld8d305fb2ec6
diff --git a/crates/openhuman-embed/tests/attached_tools.rs b/crates/openhuman-embed/tests/attached_tools.rs
index 4f7b008216..228bd3c808 100644
--- a/crates/openhuman-embed/tests/attached_tools.rs
+++ b/crates/openhuman-embed/tests/attached_tools.rs
@@ -318,7 +318,8 @@ fn attaching_before_first_turn_preserves_and_executes_native_tools() {
.mount(&provider).await;
let runtime = Runtime::builder()
.config(offline_config()).workspace(Workspace::Ephemeral)
- .backend_url(backend.uri()).build().await.unwrap();
+ .backend_url(backend.uri()).build().await
+ .unwrap_or_else(|error| panic!("runtime build failed: {error:?}"));
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")