Skip to content

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

chore: files changed crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs,tests/memory_v2_

Steven Enamakel4ee4a7575109
diff --git a/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs b/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs
index 0d1b735c55..6fb65d1d86 100644
--- a/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs
+++ b/crates/openhuman-core/src/agent/agent_turn_loop_nudge_tests.rs
@@ -89,10 +89,7 @@ fn call(id: &str, name: &str) -> ChatResponse {
}
fn nudge_count(messages: &[Message]) -> usize {
- messages
- .iter()
- .filter(|m| m.text().contains(NUDGE))
- .count()
+ messages.iter().filter(|m| m.text().contains(NUDGE)).count()
}
async fn run_turn(
diff --git a/tests/memory_v2_e2e.rs b/tests/memory_v2_e2e.rs
index e4052a7721..7c2079d55d 100644
--- a/tests/memory_v2_e2e.rs
+++ b/tests/memory_v2_e2e.rs
@@ -29,8 +29,8 @@ use std::net::TcpListener;
use std::path::{Path, PathBuf};
use std::process::{Child, Command, Stdio};
use std::sync::atomic::{AtomicI64, Ordering};
-use tokio::sync::MutexGuard;
use std::time::{Duration, Instant};
+use tokio::sync::MutexGuard;
use env_guard::{env_lock_with_file_keyring, EnvVarGuard};
use rpc_harness::{rpc, serve_rpc};
diff --git a/tests/support/memory_rpc.rs b/tests/support/memory_rpc.rs
index 574a705fa1..5d95f83be1 100644
--- a/tests/support/memory_rpc.rs
+++ b/tests/support/memory_rpc.rs
@@ -7,9 +7,9 @@
#![allow(dead_code)]
-use std::path::Path;
use openhuman_rpc::server::build_core_http_router;
use serde_json::Value;
+use std::path::Path;
use crate::rpc_auth::ensure_rpc_auth;