Skip to content

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

refactor(embed): route turn origin lookup through CoreContext

Steven Enamakel19e4dbad92e1
diff --git a/crates/openhuman-embed/src/lib.rs b/crates/openhuman-embed/src/lib.rs
index a19529cbda..1cd17abe2a 100644
--- a/crates/openhuman-embed/src/lib.rs
+++ b/crates/openhuman-embed/src/lib.rs
@@ -74,7 +74,7 @@ pub use openhuman_core::agent::turn_origin::{AgentTurnOrigin, TrustedAutomationS
/// reply target. `None` means the caller installed no origin; it grants no
/// authority. Scheduled turns retain their existing automation origin.
pub fn current_turn_origin() -> Option<AgentTurnOrigin> {
- openhuman_core::agent::turn_origin::current()
+ openhuman_core::core::runtime::CoreContext::current_turn_origin()
}
pub use openhuman_core::backend::{
install_backend_transport, installed_backend_transport, BackendRequest, BackendTransport,