Skip to content

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

test(channels): use /summarize in debounce command test

Steven Enamakelb95a5a206f04
diff --git a/crates/openhuman-core/src/channels/tests/runtime_debounce.rs b/crates/openhuman-core/src/channels/tests/runtime_debounce.rs
index 0e6cf45f31..b76e1ccbe2 100644
--- a/crates/openhuman-core/src/channels/tests/runtime_debounce.rs
+++ b/crates/openhuman-core/src/channels/tests/runtime_debounce.rs
@@ -345,7 +345,7 @@ async fn a_command_arriving_inside_the_window_runs_as_its_own_turn_after_the_tex
run.send("alice", "tell me about tokio").await;
sleep_ms(500).await;
assert_eq!(turns.count(), 0, "the text is still held by the quiet window");
- run.send("alice", "/new").await;
+ run.send("alice", "/summarize").await;
sleep_ms(3000).await;
// A slash command never merges: the buffered text and the command are two
@@ -354,8 +354,8 @@ async fn a_command_arriving_inside_the_window_runs_as_its_own_turn_after_the_tex
let first = turns.user(0);
let second = turns.user(1);
assert!(first.ends_with("tell me about tokio"), "{first}");
- assert!(!first.contains("/new"), "{first}");
- assert!(second.ends_with("/new"), "{second}");
+ assert!(!first.contains("/summarize"), "{first}");
+ assert!(second.ends_with("/summarize"), "{second}");
assert!(!second.contains("tokio"), "{second}");
run.finish().await;
}