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
chore: reformat long method chains and assertions in test files
Steven Enamakel210a8e5aa60a
diff --git a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rsindex e606ccf66e..e18e4cf58e 100644--- a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs+++ b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs@@ -73,7 +73,10 @@ async fn truncation_trailer_does_not_instruct_a_retry() {let (out, outcome) =apply_per_result_persistence(raw, None, None, "GITHUB_LIST_PULL_REQUESTS", None, 512).await;- assert!(!outcome.persisted, "fixture must truncate inline, not persist");+ assert!(+ !outcome.persisted,+ "fixture must truncate inline, not persist"+ );assert!(!out.contains("re-run"),"trailer must not instruct a re-run; got: {out}"diff --git a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rsindex febe359560..1d7c6e6037 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs@@ -467,7 +467,9 @@ fn a_subagent_thread_binding_claims_no_session_identity() {// suffix) belongs to tinyagents and is pinned by its own tests. What// OpenHuman owns, and what this asserts, is that a root chat session is// addressed by its conversation at all.- let root_session = root.session_id().expect("a root chat session has an identity");+ let root_session = root+ .session_id()+ .expect("a root chat session has an identity");assert!(root_session.starts_with("thread-1"),"a root chat session is addressed by its conversation, got {root_session}"