Skip to content

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

test(channels): use workspace in telegram subscriber setup

Steven Enamakel5b15989c8a6b
diff --git a/crates/openhuman-core/src/channels/routes_tests_telegram.rs b/crates/openhuman-core/src/channels/routes_tests_telegram.rs
index 0e2809ffec..9f9766d86e 100644
--- a/crates/openhuman-core/src/channels/routes_tests_telegram.rs
+++ b/crates/openhuman-core/src/channels/routes_tests_telegram.rs
@@ -33,7 +33,7 @@ async fn handle_runtime_command_telegram_new_status_and_sessions_round_trip() {
},
);
- let subscriber = ChannelTurnStateSubscriber::with_config(Arc::new(linked.config().clone()));
+ let subscriber = ChannelTurnStateSubscriber::new(workspace.clone());
let event_core = ctx
.core
.as_ref()