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
fix(tests): use output() instead of text() in tool test assertion
Steven Enamakela9e68f3dad49
diff --git a/crates/openhuman-core/src/agent/goals/tools_tests.rs b/crates/openhuman-core/src/agent/goals/tools_tests.rsindex aaf0d59c3a..7db10046f0 100644--- a/crates/openhuman-core/src/agent/goals/tools_tests.rs+++ b/crates/openhuman-core/src/agent/goals/tools_tests.rs@@ -34,8 +34,8 @@ async fn set_persists_to_the_workspace_store_and_answers_goal_and_text() {).await.unwrap();- assert!(!res.is_error, "{}", res.text());- let payload: serde_json::Value = serde_json::from_str(&res.text()).unwrap();+ assert!(!res.is_error, "{}", res.output());+ let payload: serde_json::Value = serde_json::from_str(&res.output()).unwrap();assert_eq!(payload["goal"]["objective"], "land the PR");assert_eq!(payload["goal"]["tokenBudget"], 5000);assert!(payload["text"].as_str().unwrap().starts_with("Goal set."));