Skip to content

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

fix: add debug print for visible tool specs in session host builder

Steven Enamakel9f036dfee28e
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_build.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_build.rs
index 49318254b6..49c4fe9e0a 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_build.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_build.rs
@@ -285,6 +285,7 @@ impl SessionHostBuilder {
// routing started sending the same tool list to Anthropic.
let visible_tool_specs: Vec<Arc<ToolSpec>> =
dedup_visible_tool_specs(visible_tool_specs_unfiltered);
+ eprintln!("FINAL_VISIBLE_SPECS={:?}", visible_tool_specs.iter().map(|spec| &spec.name).collect::<Vec<_>>());
let visible_names_list: Vec<&str> =
visible_tool_specs.iter().map(|s| s.name.as_str()).collect();