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: format long assert and middleware lines
Steven Enamakel0d90b82724fd
diff --git a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rsindex 8c0bd64e43..8f6075d038 100644--- a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs+++ b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs@@ -132,7 +132,10 @@ fn grounding_contract_carries_the_spec_check_rules() {"verify the final state the way a fresh consumer would see it","stated constraints, filters and thresholds as items",] {- assert!(rendered.contains(clause), "grounding clause missing: {clause}");+ assert!(+ rendered.contains(clause),+ "grounding clause missing: {clause}"+ );}}diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rsindex a124215a9d..b2113ef695 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests.rs@@ -617,7 +617,8 @@ fn build_carries_the_spec_check_grounding_rules() {assert!(body.contains("Checks must mirror how the task is specified or graded"));assert!(body.contains("Never delete state, data or services the solution needs at runtime"));assert!(body.contains("Verify the final state as a fresh consumer would see it."));- assert!(body.contains("List the request's stated constraints, filters and thresholds as `todo` items"));+ assert!(body+ .contains("List the request's stated constraints, filters and thresholds as `todo` items"));}#[test]diff --git a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish.rs b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish.rsindex 0d70e7a0aa..06177db68f 100644--- a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish.rs+++ b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish.rs@@ -72,7 +72,8 @@ pub(super) fn install<C: Send + Sync + 'static>();return;}- let mut middleware = VerifyBeforeFinishMiddleware::new(check_message()).with_trigger(should_check);+ let mut middleware =+ VerifyBeforeFinishMiddleware::new(check_message()).with_trigger(should_check);if let Some(ms) = super::agent_turn_wall_clock_ms() {middleware = middleware.with_wall_clock_limit(Duration::from_millis(ms));}diff --git a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rsindex b4923f9095..b7d96da0ca 100644--- a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs@@ -59,7 +59,10 @@ fn applies_to_root_orchestrator_turns_only() {assert!(applies(false, Some("orchestrator")));assert!(!applies(true, Some("orchestrator")), "sub-agents never");assert!(!applies(false, Some("welcome")), "other root agents never");- assert!(!applies(false, None), "a turn without an agent identity never");+ assert!(+ !applies(false, None),+ "a turn without an agent identity never"+ );}#[test]