Skip to content

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

fix(test): import dispatch context from runtime

Steven Enamakelab9f79d37baa
diff --git a/crates/openhuman-core/src/test_support/schemas.rs b/crates/openhuman-core/src/test_support/schemas.rs
index 931f8e9b6e..54ae73b65d 100644
--- a/crates/openhuman-core/src/test_support/schemas.rs
+++ b/crates/openhuman-core/src/test_support/schemas.rs
@@ -1,8 +1,9 @@
use serde_json::{Map, Value};
use crate::core::all::{ControllerFuture, RegisteredController};
+use crate::core::runtime::DispatchCtx;
use crate::core::Outcome;
-use crate::core::{ControllerSchema, DispatchCtx, FieldSchema, TypeSchema};
+use crate::core::{ControllerSchema, FieldSchema, TypeSchema};
use crate::test_support::{introspect, rpc};
pub fn all_controller_schemas() -> Vec<ControllerSchema> {