Skip to content

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

fix: gate PerCallContext import behind web3 feature

Steven Enamakel009a0387757f
diff --git a/crates/openhuman-core/src/tools/impl/network/host.rs b/crates/openhuman-core/src/tools/impl/network/host.rs
index d56947f7ae..01141f6ff8 100644
--- a/crates/openhuman-core/src/tools/impl/network/host.rs
+++ b/crates/openhuman-core/src/tools/impl/network/host.rs
@@ -19,7 +19,9 @@ use super::gate::RoutedGate;
use crate::config::HttpRequestConfig;
use crate::security::approval::ApprovalChatContext;
use crate::security::SecurityPolicy;
-use crate::tools::per_call::{context as per_call_context, PerCallContext, PerCallTool};
+use crate::tools::per_call::{context as per_call_context, PerCallTool};
+#[cfg(feature = "web3")]
+use crate::tools::per_call::PerCallContext;
use {tinyjuice_bus::tools::summary_focus_property, tinyjuice_bus::tools::SUMMARY_FOCUS_ARG};
/// The fallbacks for a `0` limit, from the `[http_request]` schema defaults, so