Skip to content

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

test: fix assertion in env_overlay_agent_max_tool_iterations_override test

Steven Enamakel33c82b1dcc19
diff --git a/crates/openhuman-core/src/config/schema/load_active_user_and_dirs_tests.rs b/crates/openhuman-core/src/config/schema/load_active_user_and_dirs_tests.rs
index e8ed85216a..fa58d44f98 100644
--- a/crates/openhuman-core/src/config/schema/load_active_user_and_dirs_tests.rs
+++ b/crates/openhuman-core/src/config/schema/load_active_user_and_dirs_tests.rs
@@ -710,7 +710,7 @@ fn env_overlay_agent_max_tool_iterations_override() {
assert_eq!(cfg.agent.max_tool_iterations_override, Some(250));
assert_eq!(
cfg.agent.max_tool_iterations,
- AgentConfig::default().max_tool_iterations,
+ Config::default().agent.max_tool_iterations,
"the override never rewrites the definition-less default"
);