Skip to content

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

test(web_chat): pass ambient dispatch context to key_for

Steven Enamakele4f9bda174a2
diff --git a/crates/openhuman-core/src/web_chat/mod_test_support_tests.rs b/crates/openhuman-core/src/web_chat/mod_test_support_tests.rs
index e2f51525ef..79820abb0b 100644
--- a/crates/openhuman-core/src/web_chat/mod_test_support_tests.rs
+++ b/crates/openhuman-core/src/web_chat/mod_test_support_tests.rs
@@ -27,7 +27,7 @@ pub fn is_non_retryable_rate_limit_for_test(lower: &str) -> bool {
}
pub fn key_for_test(thread_id: &str) -> String {
- super::key_for(thread_id)
+ super::key_for(&crate::core::runtime::DispatchCtx::ambient(), thread_id)
}
pub fn event_session_id_for_test(client_id: &str, thread_id: &str) -> String {