Skip to content

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

test(session_host): include error detail in summarizer lookup panic

Steven Enamakel70f73894f9eb
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs
index 2aac33b5fe..284fd1bddb 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs
@@ -348,7 +348,7 @@ async fn an_empty_named_scope_advertises_no_tools_at_all() {
&config,
"summarizer",
)
- .expect("summarizer is a shipped agent definition");
+ .unwrap_or_else(|error| panic!("summarizer is a shipped agent definition: {error:#}"));
let visible = &agent.visible_tool_names;
let real: Vec<&String> = visible