Skip to content

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

test(session_host): add debug print for dynamic prompt error

Steven Enamakel2cc4f7e8fb9c
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs
index abc9e681ce..64f94d4722 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs
@@ -254,6 +254,7 @@ fn invalid_dynamic_prompt_fails_before_the_host_tool_factory_runs() {
.err()
.expect("a dynamic prompt without a builder must be rejected");
+ eprintln!("DBGERR {error:#}");
assert!(
format!("{error:#}").contains("dynamic prompt but has no builder"),
"unexpected error: {error:#}"