Skip to content

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

chore: remove unused imports from schema modules

Steven Enamakel3e796581f192
diff --git a/crates/openhuman-core/src/integrations/composio/schemas.rs b/crates/openhuman-core/src/integrations/composio/schemas.rs
index 5ef6d1751c..fd53ddbfae 100644
--- a/crates/openhuman-core/src/integrations/composio/schemas.rs
+++ b/crates/openhuman-core/src/integrations/composio/schemas.rs
@@ -38,8 +38,6 @@ pub use definitions::schemas;
// when this was one un-split file. See each item's `pub(super)` in its
// owning submodule.
#[cfg(test)]
-use crate::core::Outcome;
-#[cfg(test)]
use serde_json::{Map, Value};
#[cfg(test)]
-use util::{read_optional, read_required, read_required_non_empty, to_json};
+use util::{read_optional, read_required, read_required_non_empty};
diff --git a/crates/openhuman-core/src/modules/schemas_tests.rs b/crates/openhuman-core/src/modules/schemas_tests.rs
index 44f355237d..4a6ef080fd 100644
--- a/crates/openhuman-core/src/modules/schemas_tests.rs
+++ b/crates/openhuman-core/src/modules/schemas_tests.rs
@@ -1,6 +1,4 @@
-use super::{
- all_controller_schemas, all_registered_controllers, controller_value, schemas, string_param,
-};
+use super::{all_controller_schemas, all_registered_controllers, controller_value, string_param};
use crate::core::runtime::context::CoreContext;
use crate::core::runtime::DispatchCtx;
use crate::core::runtime::DomainSet;
diff --git a/crates/openhuman-core/src/threads/schemas.rs b/crates/openhuman-core/src/threads/schemas.rs
index a1af558216..4ae5c2abef 100644
--- a/crates/openhuman-core/src/threads/schemas.rs
+++ b/crates/openhuman-core/src/threads/schemas.rs
@@ -19,6 +19,4 @@ use crate::threads::{
#[cfg(test)]
use handlers::parse;
#[cfg(test)]
-pub(crate) use schema_defs::schemas;
-#[cfg(test)]
use serde_json::{Map, Value};