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 test call

Steven Enamakelb3325907bd8a
diff --git a/crates/openhuman-core/src/threads/transcript_view/transcript_ordering_tests.rs b/crates/openhuman-core/src/threads/transcript_view/transcript_ordering_tests.rs
index 1e83760e7e..f1344ca1c6 100644
--- a/crates/openhuman-core/src/threads/transcript_view/transcript_ordering_tests.rs
+++ b/crates/openhuman-core/src/threads/transcript_view/transcript_ordering_tests.rs
@@ -552,7 +552,12 @@ fn generation_chain_projects_in_order_without_duplicating_retained_rows() {
#[test]
fn get_page_missing_thread_is_empty_not_error() {
let dir = TempDir::new().unwrap();
- let page = super::get_page(dir.path(), "no_such_thread", None, Some(super::DEFAULT_LIMIT));
+ let page = super::get_page(
+ dir.path(),
+ "no_such_thread",
+ None,
+ Some(super::DEFAULT_LIMIT),
+ );
assert!(!page.has_transcript);
assert_eq!(page.total, 0);
assert!(page.items.is_empty());
diff --git a/crates/openhuman-core/src/threads/transcript_view/transcript_view_tests.rs b/crates/openhuman-core/src/threads/transcript_view/transcript_view_tests.rs
index b9b917f60c..c752527301 100644
--- a/crates/openhuman-core/src/threads/transcript_view/transcript_view_tests.rs
+++ b/crates/openhuman-core/src/threads/transcript_view/transcript_view_tests.rs
@@ -1,8 +1,8 @@
//! Projection + pagination + sanitization tests for the transcript view.
+use super::get_page;
use super::project::{project_records, project_thread};
use super::types::{DisplayItem, ToolCallStatus};
-use super::{get_page, DEFAULT_LIMIT};
use crate::agent::messages::{
attach_chat_tool_failure_metadata, transcript_message_from_chat, ChatMessage,
};