Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(tests): format sys2 closure body for readability

Steven Enamakelb1b4fc74e54d
diff --git a/crates/openhuman-core/src/agent/tinyagents/prompt_cache_golden_tests.rs b/crates/openhuman-core/src/agent/tinyagents/prompt_cache_golden_tests.rs
index 6ed7f419eb..7f8365587b 100644
--- a/crates/openhuman-core/src/agent/tinyagents/prompt_cache_golden_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/prompt_cache_golden_tests.rs
@@ -107,7 +107,12 @@ async fn run(s: &Scenario) -> Value {
fn scenarios() -> Vec<Scenario> {
use tinyagents_harness::config::ToolDispatcher::{Auto, Python};
- let sys2 = || vec![Message::system("stable+context"), Message::system("volatile tier")];
+ let sys2 = || {
+ vec![
+ Message::system("stable+context"),
+ Message::system("volatile tier"),
+ ]
+ };
vec![
Scenario {
name: "first_turn_with_tools",