Skip to content

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

chore: reorder imports and reformat multi-line expressions

Steven Enamakel14ce8492b915
diff --git a/crates/openhuman-embed/src/lib.rs b/crates/openhuman-embed/src/lib.rs
index bc18d102e4..8cfc51de19 100644
--- a/crates/openhuman-embed/src/lib.rs
+++ b/crates/openhuman-embed/src/lib.rs
@@ -27,9 +27,7 @@
pub use openhuman_core::agent_progress;
pub use openhuman_core::embed::*;
-pub use openhuman_core::openhuman::agent::turn_origin::{
- AgentTurnOrigin, TrustedAutomationSource,
-};
+pub use openhuman_core::openhuman::agent::turn_origin::{AgentTurnOrigin, TrustedAutomationSource};
pub use openhuman_core::openhuman::security::TrustedAccess;
pub use openhuman_core::openhuman::tools::toolpacks::{GroupMode, ToolGroups};
pub use openhuman_core::{
diff --git a/crates/openhuman-embed/tests/public_api.rs b/crates/openhuman-embed/tests/public_api.rs
index efa85d0a17..8bc5a7e74c 100644
--- a/crates/openhuman-embed/tests/public_api.rs
+++ b/crates/openhuman-embed/tests/public_api.rs
@@ -2,8 +2,8 @@ use std::sync::Arc;
use openhuman_embed::{
set_product_identity, Access, AgentTurnOrigin, Core, CoreBuilder, CoreRuntime, DomainSet,
- GroupMode, Harness, HostKind, ProductIdentity, Provider, ServiceSet, ToolGroups,
- TrustedAccess, TrustedAutomationSource, Workspace,
+ GroupMode, Harness, HostKind, ProductIdentity, Provider, ServiceSet, ToolGroups, TrustedAccess,
+ TrustedAutomationSource, Workspace,
};
#[test]
diff --git a/crates/openhuman-tui/src/crash_reporting.rs b/crates/openhuman-tui/src/crash_reporting.rs
index e6c0b5b8a2..62eaf5d142 100644
--- a/crates/openhuman-tui/src/crash_reporting.rs
+++ b/crates/openhuman-tui/src/crash_reporting.rs
@@ -19,15 +19,12 @@ pub fn init_crash_reporting() -> sentry::ClientInitGuard {
event.server_name = None;
for exception in &mut event.exception.values {
if let Some(value) = exception.value.take() {
- exception.value = Some(
- openhuman_core::core::log_redaction::scrub_secrets(&value),
- );
+ exception.value =
+ Some(openhuman_core::core::log_redaction::scrub_secrets(&value));
}
}
if let Some(message) = event.message.take() {
- event.message = Some(
- openhuman_core::core::log_redaction::scrub_secrets(&message),
- );
+ event.message = Some(openhuman_core::core::log_redaction::scrub_secrets(&message));
}
Some(event)
})),
@@ -98,7 +95,10 @@ mod tests {
.trim()
.is_empty()
{
- assert_eq!(build_release_tag(), format!("openhuman@{}", env!("CARGO_PKG_VERSION")));
+ assert_eq!(
+ build_release_tag(),
+ format!("openhuman@{}", env!("CARGO_PKG_VERSION"))
+ );
}
}
}
diff --git a/crates/openhuman-tui/src/lib.rs b/crates/openhuman-tui/src/lib.rs
index e5bae65995..63a9dd7c88 100644
--- a/crates/openhuman-tui/src/lib.rs
+++ b/crates/openhuman-tui/src/lib.rs
@@ -24,8 +24,8 @@ mod state;
mod terminal;
mod ui_state;
-pub use runner::run_from_cli;
pub use crash_reporting::init_crash_reporting;
+pub use runner::run_from_cli;
// State reducer is behaviour-only but has no terminal deps, so its tests run in
// feature-on builds. Exported for the sibling submodules + tests.