Skip to content

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

fix(config): remove duplicate tool configuration module

Steven Enamakel3db4a6929abc
diff --git a/crates/openhuman-core/src/config/tools.rs b/crates/openhuman-core/src/config/tools.rs
index 9902055edd..5cb1062d1a 100644
--- a/crates/openhuman-core/src/config/tools.rs
+++ b/crates/openhuman-core/src/config/tools.rs
@@ -38,6 +38,9 @@ macro_rules! read_tool {
fn name(&self) -> &str {
$name
}
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
fn description(&self) -> &str {
$desc
}
diff --git a/crates/openhuman-core/src/platform/service/tools.rs b/crates/openhuman-core/src/platform/service/tools.rs
index 901923d78e..691d414a37 100644
--- a/crates/openhuman-core/src/platform/service/tools.rs
+++ b/crates/openhuman-core/src/platform/service/tools.rs
@@ -47,6 +47,9 @@ macro_rules! config_tool {
fn name(&self) -> &str {
$name
}
+ fn exposure(&self) -> tinytools::ToolExposure {
+ tinytools::ToolExposure::Deferred
+ }
fn description(&self) -> &str {
$desc
}