The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(channels): align telegram and dispatch tests with config-aware subscriber
Steven Enamakel40cac30fd0cf
diff --git a/crates/openhuman-core/src/channels/routes_tests_telegram.rs b/crates/openhuman-core/src/channels/routes_tests_telegram.rsindex 139bb60dd9..76eb9ed36a 100644--- a/crates/openhuman-core/src/channels/routes_tests_telegram.rs+++ b/crates/openhuman-core/src/channels/routes_tests_telegram.rs@@ -31,7 +31,7 @@ async fn handle_runtime_command_telegram_new_status_and_sessions_round_trip() {},);- let subscriber = ChannelTurnStateSubscriber::new(workspace.clone());+ let subscriber = ChannelTurnStateSubscriber::with_config(Arc::new(linked.config().clone()));let event_core =crate::channels::runtime::test_support::bind_test_core_context(&mut ctx, linked.config());crate::core::runtime::CoreContext::scope(event_core, async {diff --git a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rsindex da88cfec81..7ec8922d85 100644--- a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs+++ b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs@@ -164,6 +164,9 @@ async fn process_channel_message_sends_typing_before_the_provider_reply() {&mut runtime_ctx,linked.config(),);+ // Keep the bound core for host policy/config while selecting the injected+ // model source below, as bespoke test hosts do.+ runtime_ctx.config = None;let runtime_ctx = Arc::new(runtime_ctx);let configured_account = runtime_ctx.channels_by_name