Skip to content

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

style: reformat test support code

Steven Enamakel61e17b27c8d5
diff --git a/crates/openhuman-embed/examples/support/mod.rs b/crates/openhuman-embed/examples/support/mod.rs
index 8f6d460fb2..75b55ad4f2 100644
--- a/crates/openhuman-embed/examples/support/mod.rs
+++ b/crates/openhuman-embed/examples/support/mod.rs
@@ -245,13 +245,9 @@ impl PointedInference {
let token = openhuman_embed::__host::security::credentials::session_support::resolve_backend_credential(request.config)
.map(|credential| credential.secret().to_string())
.map_err(anyhow::Error::msg)?;
- let wire = OpenAiModel::compatible_provider(
- "EmbedTest",
- token,
- base_url.clone(),
- &model,
- )
- .with_native_tool_calling(request.native_tool_calling);
+ let wire =
+ OpenAiModel::compatible_provider("EmbedTest", token, base_url.clone(), &model)
+ .with_native_tool_calling(request.native_tool_calling);
let wire: std::sync::Arc<dyn tinyinference_llm::model::ChatModel<()>> =
std::sync::Arc::new(wire);
Ok((wire, model))
diff --git a/crates/openhuman-embed/tests/common/mod.rs b/crates/openhuman-embed/tests/common/mod.rs
index 0e395d61ac..b609280ae0 100644
--- a/crates/openhuman-embed/tests/common/mod.rs
+++ b/crates/openhuman-embed/tests/common/mod.rs
@@ -250,13 +250,9 @@ impl PointedInference {
let token = openhuman_embed::__host::security::credentials::session_support::resolve_backend_credential(request.config)
.map(|credential| credential.secret().to_string())
.map_err(anyhow::Error::msg)?;
- let wire = OpenAiModel::compatible_provider(
- "EmbedTest",
- token,
- base_url.clone(),
- &model,
- )
- .with_native_tool_calling(request.native_tool_calling);
+ let wire =
+ OpenAiModel::compatible_provider("EmbedTest", token, base_url.clone(), &model)
+ .with_native_tool_calling(request.native_tool_calling);
let wire: std::sync::Arc<dyn tinyinference_llm::model::ChatModel<()>> =
std::sync::Arc::new(wire);
Ok((wire, model))
diff --git a/crates/openhuman-tinyhumans/src/runtime_tests.rs b/crates/openhuman-tinyhumans/src/runtime_tests.rs
index 8515793647..ffb20b2a4e 100644
--- a/crates/openhuman-tinyhumans/src/runtime_tests.rs
+++ b/crates/openhuman-tinyhumans/src/runtime_tests.rs
@@ -3,8 +3,8 @@
//! identity, and forward every preset and knob unchanged.
use super::*;
-use openhuman_embed::seams::DomainGroup;
use crate::transport::BackendTransport;
+use openhuman_embed::seams::DomainGroup;
use openhuman_embed::BuilderSummary;
fn connected(builder: RuntimeBuilder) -> BuilderSummary {