Skip to content

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

test(web_chat): use absolute paths for runner helpers

Steven Enamakel9e33a345e31a
diff --git a/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs
index ccae09910c..4bf4986547 100644
--- a/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs
@@ -246,11 +246,11 @@ async fn a_turn_whose_provider_is_unreachable_ends_in_one_classified_chat_error(
"{request}"
);
- let runtime = super::runner::runtime(&ctx);
+ let runtime = crate::web_chat::runner::runtime(&ctx);
assert!(
!runtime
.runner
- .is_in_flight(&super::runner::scope_of(&ctx), thread_id)
+ .is_in_flight(&crate::web_chat::runner::scope_of(&ctx), thread_id)
.await
);
let extra_terminal_events = std::iter::from_fn(|| rx.try_recv().ok())