Skip to content

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

feat(socket): add event handler for platform socket events

Steven Enamakelcc1b0abdc659
diff --git a/crates/openhuman-core/src/platform/socket/event_handlers.rs b/crates/openhuman-core/src/platform/socket/event_handlers.rs
index 31bf7756a4..963e7a7aad 100644
--- a/crates/openhuman-core/src/platform/socket/event_handlers.rs
+++ b/crates/openhuman-core/src/platform/socket/event_handlers.rs
@@ -246,6 +246,8 @@ pub(super) fn handle_sio_event(
} else {
#[cfg(feature = "voice")]
tokio::spawn(crate::voice::realtime_harness::handle_voice_harness_turn(
+ // A relay socket event carries no context of its own.
+ crate::core::runtime::DispatchCtx::host_default(),
correlation_id,
messages,
));