Skip to content

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

test(saas): use a hidden method in the unknown-method assertion

Steven Enamakel622b108869eb
diff --git a/tests/saas_mode_e2e.rs b/tests/saas_mode_e2e.rs
index 8f301a64f9..7f7702e163 100644
--- a/tests/saas_mode_e2e.rs
+++ b/tests/saas_mode_e2e.rs
@@ -511,7 +511,7 @@ fn each_user_sees_only_their_own_threads() {
// A hidden method answers unknown-method even with bad params, rather
// than its parameter errors.
- let (_, body) = call("alice", "openhuman.threads_regenerate", json!({}));
+ let (_, body) = call("alice", "openhuman.threads_update_working_dir", json!({}));
let error = body["error"].to_string();
assert!(!error.contains("missing"), "{body}");