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(tests): reformat artifact path reads for consistency
Steven Enamakel12b0657e1503
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_tool_output_artifact_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_tool_output_artifact_tests.rsindex 0fd4241ff9..6fbb72a101 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_tool_output_artifact_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_tool_output_artifact_tests.rs@@ -133,9 +133,8 @@ async fn an_oversized_result_is_stored_as_the_tool_returned_it_not_as_rewritten("an over-budget result is persisted: {}",result_text(&result));- let stored =- std::fs::read_to_string(tmp.path().join("tool-results/session/echo/c1.txt"))- .expect("artifact written");+ let stored = std::fs::read_to_string(tmp.path().join("tool-results/session/echo/c1.txt"))+ .expect("artifact written");assert_eq!(stored, raw,"the artifact must hold the tool's own output, not the rewritten copy"@@ -160,9 +159,8 @@ async fn a_raw_result_file_read_cannot_open_is_stored_as_the_processed_copy() {.0.unwrap();- let stored =- std::fs::read_to_string(tmp.path().join("tool-results/session/echo/c1.txt"))- .expect("artifact written");+ let stored = std::fs::read_to_string(tmp.path().join("tool-results/session/echo/c1.txt"))+ .expect("artifact written");assert_eq!(stored, summary,"a raw body over file_read's limit would be unreadable, so the processed copy is stored"