Skip to content

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

fix(ws_loop): correct test for dispatch and redirect logic

Steven Enamakel78d84cb07d23
diff --git a/crates/openhuman-core/src/platform/socket/ws_loop_dispatch_and_redirect_tests.rs b/crates/openhuman-core/src/platform/socket/ws_loop_dispatch_and_redirect_tests.rs
index 0b8dd8131b..d690fc0c88 100644
--- a/crates/openhuman-core/src/platform/socket/ws_loop_dispatch_and_redirect_tests.rs
+++ b/crates/openhuman-core/src/platform/socket/ws_loop_dispatch_and_redirect_tests.rs
@@ -1,6 +1,7 @@
use super::*;
use std::sync::Arc;
+use tokio::sync::watch;
use crate::platform::socket::types::ConnectionStatus;
use serde_json::json;
// ── Redirect resolution (the real fix for OPENHUMAN-TAURI-9X) ──