Skip to content

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

chore: reformat test assertion and consolidate inference re-exports

Steven Enamakel02fb240a2ced
diff --git a/src/embed/agent_tests.rs b/src/embed/agent_tests.rs
index dfa9cebc23..8f6a27f876 100644
--- a/src/embed/agent_tests.rs
+++ b/src/embed/agent_tests.rs
@@ -150,7 +150,10 @@ fn sanitize_redacts_unparseable_urls() {
// A value that does not parse as an absolute URL cannot be proven free of
// credential-bearing components (e.g. protocol-relative userinfo), so it
// must never be echoed verbatim into diagnostics.
- assert_eq!(sanitize_url_for_display("//user:sk-secret@host/path"), "<redacted>");
+ assert_eq!(
+ sanitize_url_for_display("//user:sk-secret@host/path"),
+ "<redacted>"
+ );
assert_eq!(sanitize_url_for_display("not a url at all"), "<redacted>");
// A parseable absolute URL is normalized, not dropped.
let normalized = sanitize_url_for_display("https://user:[email protected]/v1?k=leaky");
diff --git a/src/openhuman/inference/mod.rs b/src/openhuman/inference/mod.rs
index bc2685593d..bc58708272 100644
--- a/src/openhuman/inference/mod.rs
+++ b/src/openhuman/inference/mod.rs
@@ -44,8 +44,7 @@ pub mod voice;
pub use ops as rpc;
pub use schemas::{
all_controller_schemas as all_inference_controller_schemas,
- all_registered_controllers as all_inference_registered_controllers,
- INFERENCE_AGENT_CHAT,
+ all_registered_controllers as all_inference_registered_controllers, INFERENCE_AGENT_CHAT,
};
// Re-export the types that external callers (voice, agent, etc.) import from inference