From e6c829384e3bc06a2a9e9cababf2e74283548123 Mon Sep 17 00:00:00 2001 From: teknium1 Date: Sun, 8 Mar 2026 22:50:58 -0700 Subject: [PATCH] fix: setup wizard shows 60 as default max iterations, should be 90 AIAgent.__init__ defaults to max_iterations=90 but setup_agent_settings() fell back to '60' when HERMES_MAX_ITERATIONS wasn't set. --- hermes_cli/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermes_cli/setup.py b/hermes_cli/setup.py index b244027be..b68abe141 100644 --- a/hermes_cli/setup.py +++ b/hermes_cli/setup.py @@ -1264,7 +1264,7 @@ def setup_agent_settings(config: dict): # ── Max Iterations ── print_header("Agent Settings") - current_max = get_env_value('HERMES_MAX_ITERATIONS') or '60' + current_max = get_env_value('HERMES_MAX_ITERATIONS') or '90' print_info("Maximum tool-calling iterations per conversation.") print_info("Higher = more complex tasks, but costs more tokens.") print_info("Recommended: 30-60 for most tasks, 100+ for open exploration.")