Skip to content

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

style: format channel event and test code with rustfmt

Steven Enamakel844e704351b5
diff --git a/crates/openhuman-core/src/channels/host/channel_events.rs b/crates/openhuman-core/src/channels/host/channel_events.rs
index 28ecdc79fb..3899b1b8fc 100644
--- a/crates/openhuman-core/src/channels/host/channel_events.rs
+++ b/crates/openhuman-core/src/channels/host/channel_events.rs
@@ -239,7 +239,11 @@ impl ChannelTurnStateSubscriber {
{
crate::channels::module_fixture::client()
.await
- .call_confidential("tinychannels", tinychannels_bus::methods::EXECUTE_REMOTE, args)
+ .call_confidential(
+ "tinychannels",
+ tinychannels_bus::methods::EXECUTE_REMOTE,
+ args,
+ )
.await
}
#[cfg(not(test))]
diff --git a/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs b/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs
index 36f9db4824..6bc14cfcd3 100644
--- a/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs
+++ b/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs
@@ -221,20 +221,18 @@ async fn remote_clear_resets_only_the_captured_tenant_session() {
let mut forged = scope.clone();
forged.conversation.id = "other-room".into();
- assert!(
- crate::channels::host::remote_control::dispatch_callback(
- &alice_dispatch,
- &alice_runtime,
- &alice_tenant,
- &cancellation,
- Some(&reset),
- RemoteHostRequest::ClearHistory {
- session_scope: forged,
- },
- )
- .await
- .is_err()
- );
+ assert!(crate::channels::host::remote_control::dispatch_callback(
+ &alice_dispatch,
+ &alice_runtime,
+ &alice_tenant,
+ &cancellation,
+ Some(&reset),
+ RemoteHostRequest::ClearHistory {
+ session_scope: forged,
+ },
+ )
+ .await
+ .is_err());
assert_eq!(
session_messages(&alice_core, workspace, &alice_store_agent, &alice_session).len(),
2
diff --git a/crates/openhuman-core/src/channels/routes_tests_telegram.rs b/crates/openhuman-core/src/channels/routes_tests_telegram.rs
index 947db2cc8a..df9854c1e8 100644
--- a/crates/openhuman-core/src/channels/routes_tests_telegram.rs
+++ b/crates/openhuman-core/src/channels/routes_tests_telegram.rs
@@ -33,7 +33,8 @@ async fn handle_runtime_command_telegram_new_status_and_sessions_round_trip() {
},
);
- let subscriber = ChannelTurnStateSubscriber::with_objects(workspace.clone(), linked.module_objects());
+ let subscriber =
+ ChannelTurnStateSubscriber::with_objects(workspace.clone(), linked.module_objects());
let event_core = ctx
.core
.as_ref()