Skip to content

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

refactor(session_host): qualify ToolSpec with tinytools path

Steven Enamakelcbf589868beb
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/prelude.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/prelude.rs
index a85397fd7d..c1d5eb4237 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session/prelude.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/prelude.rs
@@ -364,11 +364,11 @@ impl OpenHumanTurnPrelude {
/// occurrence wins, as it does for the advertised list, so the host's tool is
/// the one granted.
fn granted_tool_specs(
- visible: &[Arc<ToolSpec>],
- registered: &[Arc<ToolSpec>],
+ visible: &[Arc<tinytools::ToolSpec>],
+ registered: &[Arc<tinytools::ToolSpec>],
deferred: &std::collections::HashSet<String>,
has_thread: bool,
-) -> Vec<ToolSpec> {
+) -> Vec<tinytools::ToolSpec> {
let specs = visible
.iter()
.chain(