Skip to content

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

test(channels): cover channel route dispatch

Steven Enamakel4c7a6b287753
diff --git a/crates/openhuman-core/src/channels/routes_tests.rs b/crates/openhuman-core/src/channels/routes_tests.rs
index 421a578253..533d3bc243 100644
--- a/crates/openhuman-core/src/channels/routes_tests.rs
+++ b/crates/openhuman-core/src/channels/routes_tests.rs
@@ -614,7 +614,7 @@ async fn handle_runtime_command_telegram_new_status_and_sessions_round_trip() {
let sent = channel_impl.sent.lock().unwrap();
assert_eq!(sent.len(), 3);
- assert!(sent[0].content.contains("Started new session"));
+ assert!(sent[0].content.contains("Started new session"), "got: {}", sent[0].content);
assert!(sent[0]
.content
.contains("In-memory channel history cleared for this chat."));