Skip to content

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

refactor(flows): clean up module re-exports

Steven Enamakel0e5258b53dab
diff --git a/crates/openhuman-core/src/flows/caps_host/mod.rs b/crates/openhuman-core/src/flows/caps_host/mod.rs
index 61798ff9f1..871c5f2d1d 100644
--- a/crates/openhuman-core/src/flows/caps_host/mod.rs
+++ b/crates/openhuman-core/src/flows/caps_host/mod.rs
@@ -13,23 +13,20 @@ mod tier;
pub(crate) mod tools;
pub(crate) use binding::{CapsHostRegistration, serve};
-pub(crate) use error::{CapsError, EngineError, Result};
pub(crate) use code::OpenHumanCode;
-pub(crate) use http::{
- OpenHumanHttp, resolve_http_credential,
-};
+pub(crate) use error::{CapsError, EngineError, Result};
+pub(crate) use http::{OpenHumanHttp, resolve_http_credential};
pub(crate) use llm::{OpenHumanLlm, resolve_host_model};
pub(crate) use memory::OpenHumanMemory;
pub(crate) use prompt::model_response_to_completion_value;
pub(crate) use service::CapsHostService;
-pub(crate) use tools::OpenHumanTools;
pub(crate) use tier::{
- close_audit, current_tier_policy, enforce_current_node_tier_gate,
- enforce_node_tier_gate, gate_call_for_tier,
+ close_audit, current_tier_policy, enforce_current_node_tier_gate, enforce_node_tier_gate,
+ gate_call_for_tier,
};
+pub(crate) use tools::OpenHumanTools;
pub(crate) use tools::{NATIVE_TOOL_PREFIX, classify_composio_action_for_tier};
#[cfg(test)]
#[path = "ops_tests.rs"]
mod tests;
-
diff --git a/crates/openhuman-core/src/flows/mod.rs b/crates/openhuman-core/src/flows/mod.rs
index 802bd8d763..3337610e70 100644
--- a/crates/openhuman-core/src/flows/mod.rs
+++ b/crates/openhuman-core/src/flows/mod.rs
@@ -66,6 +66,6 @@ pub use {node_contracts::all_node_kind_contracts, node_contracts::node_kind_cont
// subscriber, `flows_delete` and the tinyflows `memory` node adapter reach the
// same helpers through these re-exports so every caller tags identically.
pub use memory_tools::{
- cross_flow_filter, flow_filter, flow_key_of, flow_key_tag, flow_meta, flow_tag,
- forget_matching, remember_keyed, FLOWS_TAG,
+ FLOWS_TAG, cross_flow_filter, flow_filter, flow_key_of, flow_key_tag, flow_meta, flow_tag,
+ forget_matching, remember_keyed,
};