Skip to content

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

test(openhuman-embed): reorder imports and align sink result type

Steven Enamakelf12c75aaaf38
diff --git a/crates/openhuman-embed/tests/seams_runtime.rs b/crates/openhuman-embed/tests/seams_runtime.rs
index 0fbd2b047d..a48eeec5c6 100644
--- a/crates/openhuman-embed/tests/seams_runtime.rs
+++ b/crates/openhuman-embed/tests/seams_runtime.rs
@@ -11,11 +11,11 @@ use openhuman_core::core::runtime::DispatchCtx;
use std::sync::Arc;
use common::{offline_config, runtime, stub_backend};
-use openhuman_core::core::ControllerSchema;
use openhuman_core::core::all::{ControllerFuture, RegisteredController};
+use openhuman_core::core::ControllerSchema;
use openhuman_embed::seams::{ControllerExtension, DomainGroup, LearningSink, SecurityPolicy};
-use openhuman_embed::{Runtime, Workspace, schema_for_rpc_method};
-use serde_json::{Map, Value, json};
+use openhuman_embed::{schema_for_rpc_method, Runtime, Workspace};
+use serde_json::{json, Map, Value};
const METHOD: &str = "openhuman.embed_seam_probe_ping";
const POLICY_MARKER: u32 = 4242;
@@ -48,7 +48,7 @@ impl LearningSink for ProbeHook {
async fn on_turn_complete(
&self,
_ctx: &openhuman_embed::seams::TurnSummary,
- ) -> anyhow::Result<()> {
+ ) -> tinyagents_harness::error::Result<()> {
Ok(())
}
}