Skip to content

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

chore(relay): remove unused relay ops module

Steven Enamakel0c069af701ab
diff --git a/crates/openhuman-core/src/channels/providers/relay/ops.rs b/crates/openhuman-core/src/channels/providers/relay/ops.rs
index a2a2f51c9f..7dd7ef5582 100644
--- a/crates/openhuman-core/src/channels/providers/relay/ops.rs
+++ b/crates/openhuman-core/src/channels/providers/relay/ops.rs
@@ -247,7 +247,7 @@ pub(crate) async fn run_relay_turn(
let mut runtime_message = crate::channels::runtime::RuntimeChannelMessage::from(message);
runtime_message.prepared_inbound = Some(prepared);
let turn = process_channel_runtime_message(ctx, runtime_message);
- if let Some(context) = crate::core::runtime::CoreContext::scoped() {
+ if let Some(context) = dispatch_ctx.core() {
crate::core::runtime::CoreContext::scope(
context.derive_channel_turn(Some(thread_id.clone()), None),
Box::pin(turn),