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(saas_mode): assert messages key in delivery recovery helper
Steven Enamakeld76ed75cd1bf
diff --git a/tests/saas_mode/delivery_recovery.rs b/tests/saas_mode/delivery_recovery.rsindex 2bb5e7f5b0..1d8050aa83 100644--- a/tests/saas_mode/delivery_recovery.rs+++ b/tests/saas_mode/delivery_recovery.rs@@ -51,14 +51,17 @@ fn rpc_ok(node: &Node, user: &str, method: &str, params: Value) -> Value {body}+/// `user`'s messages on [`THREAD`], as JSON text.fn messages(node: &Node, user: &str) -> String {- rpc_ok(+ let body = rpc_ok(node,user,"openhuman.threads_messages_list",json!({ "thread_id": THREAD }),- )- .to_string()+ );+ find_key(&body, "messages")+ .unwrap_or_else(|| panic!("{user} lists no messages: {body}"))+ .to_string()}/// `user`'s thread [`THREAD`] with one message of their own.