Skip to content

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

test(web_chat): update ptt ingress test to use derive_with overlay

Steven Enamakel9f46f45e75f9
diff --git a/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs
index f931452d45..f95723e946 100644
--- a/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs
@@ -27,10 +27,16 @@ async fn ptt_source_turn_completes_without_publishing_a_voice_event() {
config.action_dir_override = Some(action_dir.clone());
config.config_path = config_path;
config.files_dir_override = Some(files_dir);
- let core_context = crate::core::runtime::CoreContext::for_test_with_config(
- crate::core::runtime::DomainSet::full(),
- config,
- );
+ let core_context =
+ crate::core::runtime::CoreContext::for_test(crate::core::runtime::DomainSet::full(), None)
+ .derive_with(
+ crate::core::runtime::ContextOverlay::new(
+ config,
+ crate::core::runtime::DomainSet::full(),
+ Default::default(),
+ )
+ .without_user_skill_roots(),
+ );
let ctx = crate::core::runtime::DispatchCtx::new(Arc::clone(&core_context));
crate::core::runtime::CoreContext::scope(core_context, async {