Skip to content

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

fix(integrations): remove unused test-only import and unused constant

Steven Enamakel07b6a62311cb
diff --git a/crates/openhuman-core/src/integrations/client.rs b/crates/openhuman-core/src/integrations/client.rs
index 1e0550a796..5c54eaecf9 100644
--- a/crates/openhuman-core/src/integrations/client.rs
+++ b/crates/openhuman-core/src/integrations/client.rs
@@ -11,7 +11,7 @@ pub use construct::IntegrationClient;
pub use pricing::{build_client, pricing_for_config};
#[cfg(test)]
-pub(crate) use errors::{extract_error_detail, MAX_ERROR_BODY_LEN};
+pub(crate) use errors::extract_error_detail;
// Brought into scope here (rather than only inside each submodule) purely so
// `#[cfg(test)] mod tests` below — and the `super::*` glob each test file
diff --git a/crates/openhuman-core/src/integrations/composio/tools/direct.rs b/crates/openhuman-core/src/integrations/composio/tools/direct.rs
index ada78235eb..2d6d8939a4 100644
--- a/crates/openhuman-core/src/integrations/composio/tools/direct.rs
+++ b/crates/openhuman-core/src/integrations/composio/tools/direct.rs
@@ -22,8 +22,6 @@ pub use types::DirectComposioClient;
// Test-only bridges: the flat `direct_tests.rs` module still expects these
// internal helpers to be reachable unqualified via `use super::*`.
#[cfg(test)]
-use discovery::{ComposioToolkitRef, ComposioToolsResponse, ComposioV3Tool};
-#[cfg(test)]
use http_errors::{extract_api_error_message, sanitize_error_message};
#[cfg(test)]
use types::{ensure_https, is_loopback_http_url, COMPOSIO_API_BASE_V3};