Skip to content

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

fix(web_chat): correct test assertion for suggestion ordering

Steven Enamakel723490808e0e
diff --git a/crates/openhuman-core/src/web_chat/suggestions_tests.rs b/crates/openhuman-core/src/web_chat/suggestions_tests.rs
index 546011cfd1..9677d668bd 100644
--- a/crates/openhuman-core/src/web_chat/suggestions_tests.rs
+++ b/crates/openhuman-core/src/web_chat/suggestions_tests.rs
@@ -142,7 +142,7 @@ async fn drops_silently_when_the_model_returns_garbage() {
text: "I cannot comply with strict JSON today.".to_string(),
calls: Arc::new(AtomicUsize::new(0)),
}));
- let mut rx = super::super::subscribe_web_channel_events();
+ let mut rx = subscribe_web_channel_events();
let thread_id = "sugg-thread-garbage";
generate_and_emit(