Skip to content

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

style: reorder imports and reformat assertion

Steven Enamakel8a970b524b6e
diff --git a/crates/openhuman-core/src/channels/providers/relay/channel.rs b/crates/openhuman-core/src/channels/providers/relay/channel.rs
index d68e94dd44..d1524107ee 100644
--- a/crates/openhuman-core/src/channels/providers/relay/channel.rs
+++ b/crates/openhuman-core/src/channels/providers/relay/channel.rs
@@ -11,7 +11,7 @@ use async_trait::async_trait;
use serde_json::json;
use crate::channels::traits::{Channel, ChannelMessage, SendMessage};
-use crate::web_chat::{publish_web_channel_event, WebChannelEvent};
+use crate::web_chat::{WebChannelEvent, publish_web_channel_event};
/// The event name a relayed reply is published under.
pub const CHANNEL_OUTBOUND_EVENT: &str = "channel_outbound";
diff --git a/crates/openhuman-core/src/channels/providers/relay/ops_tests.rs b/crates/openhuman-core/src/channels/providers/relay/ops_tests.rs
index b84087bf32..a54b7367ab 100644
--- a/crates/openhuman-core/src/channels/providers/relay/ops_tests.rs
+++ b/crates/openhuman-core/src/channels/providers/relay/ops_tests.rs
@@ -1,6 +1,6 @@
use super::super::channel::CHANNEL_OUTBOUND_EVENT;
use super::*;
-use crate::agent::bus::{mock_agent_run_turn, AgentTurnRequest, AgentTurnResponse};
+use crate::agent::bus::{AgentTurnRequest, AgentTurnResponse, mock_agent_run_turn};
use crate::agent::turn_origin::AgentTurnOrigin;
use crate::core::runtime::{ContextOverlay, CoreContext, DomainSet};
use std::sync::Mutex;
diff --git a/crates/openhuman-core/src/channels/providers/relay/schemas_tests.rs b/crates/openhuman-core/src/channels/providers/relay/schemas_tests.rs
index c696065b47..8f0be869cb 100644
--- a/crates/openhuman-core/src/channels/providers/relay/schemas_tests.rs
+++ b/crates/openhuman-core/src/channels/providers/relay/schemas_tests.rs
@@ -24,9 +24,11 @@ fn the_controller_is_channel_relay_inbound() {
#[test]
fn the_controller_is_registered() {
- assert!(crate::core::all::all_registered_controllers()
- .iter()
- .any(|c| c.rpc_method_name() == "openhuman.channel_relay_inbound"));
+ assert!(
+ crate::core::all::all_registered_controllers()
+ .iter()
+ .any(|c| c.rpc_method_name() == "openhuman.channel_relay_inbound")
+ );
}
#[tokio::test]