Skip to content

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

style(attachments): reformat imports and assertion

Steven Enamakelcdcc9162d059
diff --git a/crates/openhuman-core/src/attachments/provider.rs b/crates/openhuman-core/src/attachments/provider.rs
index 7ca288835b..4d82feb40f 100644
--- a/crates/openhuman-core/src/attachments/provider.rs
+++ b/crates/openhuman-core/src/attachments/provider.rs
@@ -5,9 +5,7 @@ use base64::{engine::general_purpose::STANDARD, Engine};
use std::sync::Arc;
use tinyinference_llm::{
message::{ContentBlock, ImageRef, MediaRef, Message},
- model::{
- ChatModel, InputModality, InputSource, ModelProfile, ModelRequest,
- },
+ model::{ChatModel, InputModality, InputSource, ModelProfile, ModelRequest},
};
#[cfg(test)]
diff --git a/crates/openhuman-core/src/attachments/provider_security_tests.rs b/crates/openhuman-core/src/attachments/provider_security_tests.rs
index 4a6601833e..3613803b2d 100644
--- a/crates/openhuman-core/src/attachments/provider_security_tests.rs
+++ b/crates/openhuman-core/src/attachments/provider_security_tests.rs
@@ -217,7 +217,9 @@ async fn oversized_local_file_marker_fails_before_primary_or_materialization() {
)]);
let error = wrapped.invoke(&(), request).await.unwrap_err();
- assert!(error.to_string().contains("attachment exceeds configured file limit"));
+ assert!(error
+ .to_string()
+ .contains("attachment exceeds configured file limit"));
assert_eq!(primary.0.load(Ordering::SeqCst), 0);
assert!(!uploads.join("legacy-media").exists());
}