Skip to content

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

test(web_chat): print the build error when the non-ascii session agent fails to build

Steven Enamakeld22bba753a22
diff --git a/crates/openhuman-core/src/web_chat/session_routing_tests.rs b/crates/openhuman-core/src/web_chat/session_routing_tests.rs
index 855e5c01f6..8a2d3bc489 100644
--- a/crates/openhuman-core/src/web_chat/session_routing_tests.rs
+++ b/crates/openhuman-core/src/web_chat/session_routing_tests.rs
@@ -478,7 +478,6 @@ async fn a_non_ascii_thread_id_builds_a_session_agent_without_panicking() {
.expect("build_session_agent panicked on a non-ASCII thread id");
// The label truncation only runs once the agent builds.
if let Err(error) = built {
- eprintln!("BUILD-ERR {error:#}");
panic!("session agent must build: {error:#}");
}
}