Skip to content

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

style: collapse imports and wrap long assertion

Steven Enamakelf50cdbaf4d60
diff --git a/crates/openhuman-core/src/tools/impl/network/gitbooks.rs b/crates/openhuman-core/src/tools/impl/network/gitbooks.rs
index 3317fcf436..f617f6de00 100644
--- a/crates/openhuman-core/src/tools/impl/network/gitbooks.rs
+++ b/crates/openhuman-core/src/tools/impl/network/gitbooks.rs
@@ -2,9 +2,7 @@
//! confidential one-shot tool-call contract.
use crate::{
- config::Config,
- inference::provider::factory::redact_endpoint,
- modules::client::ModuleClient,
+ config::Config, inference::provider::factory::redact_endpoint, modules::client::ModuleClient,
};
use async_trait::async_trait;
use serde_json::{json, Value};
diff --git a/crates/openhuman-core/src/tools/impl/network/gitbooks_tests.rs b/crates/openhuman-core/src/tools/impl/network/gitbooks_tests.rs
index ee8ab991cf..185f3d909d 100644
--- a/crates/openhuman-core/src/tools/impl/network/gitbooks_tests.rs
+++ b/crates/openhuman-core/src/tools/impl/network/gitbooks_tests.rs
@@ -205,7 +205,10 @@ fn module_rendered_results_preserve_text_json_error_and_markdown() {
});
assert!(result.is_error);
- assert_eq!(result.markdown_formatted.as_deref(), Some("**formatted excerpt**"));
+ assert_eq!(
+ result.markdown_formatted.as_deref(),
+ Some("**formatted excerpt**")
+ );
assert_eq!(result.content.len(), 2);
assert!(matches!(
&result.content[0],