Skip to content

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

chore(agent): reorder module declarations and merge imports

Steven Enamakel5b62ac5c794d
diff --git a/crates/openhuman-core/src/agent/agent_tests.rs b/crates/openhuman-core/src/agent/agent_tests.rs
index 8e4f31c876..16bd4d482c 100644
--- a/crates/openhuman-core/src/agent/agent_tests.rs
+++ b/crates/openhuman-core/src/agent/agent_tests.rs
@@ -331,9 +331,9 @@ fn xml_tool_response(name: &str, args: &str) -> ChatResponse {
}
}
-#[path = "agent_turn_loop_tests.rs"]
-mod agent_turn_loop_tests;
#[path = "agent_dispatch_format_tests.rs"]
mod agent_dispatch_format_tests;
#[path = "agent_memory_attribution_tests.rs"]
mod agent_memory_attribution_tests;
+#[path = "agent_turn_loop_tests.rs"]
+mod agent_turn_loop_tests;
diff --git a/crates/openhuman-core/src/agent/progress_tracing/collector/events.rs b/crates/openhuman-core/src/agent/progress_tracing/collector/events.rs
index eee1b70bc3..e869dc3b55 100644
--- a/crates/openhuman-core/src/agent/progress_tracing/collector/events.rs
+++ b/crates/openhuman-core/src/agent/progress_tracing/collector/events.rs
@@ -6,8 +6,7 @@ use std::collections::BTreeMap;
use crate::agent::progress::AgentProgress;
use crate::agent::progress_tracing::serialize::{
json_f64, json_str, json_u32, json_u64, json_usize, status_of, truncate_chars,
- MAX_ERROR_MESSAGE_CHARS,
- MAX_MODEL_CONTENT_CHARS,
+ MAX_ERROR_MESSAGE_CHARS, MAX_MODEL_CONTENT_CHARS,
};
use crate::agent::progress_tracing::types::SpanKind;