fix(setup): stop hardcoding max-iterations copy

This commit is contained in:
helix4u
2026-04-18 16:44:40 -06:00
committed by kshitij
parent 3ade655999
commit 361675018f
2 changed files with 32 additions and 1 deletions

View File

@@ -1460,7 +1460,9 @@ def setup_agent_settings(config: dict):
)
print_info("Maximum tool-calling iterations per conversation.")
print_info("Higher = more complex tasks, but costs more tokens.")
print_info("Default is 90, which works for most tasks. Use 150+ for open exploration.")
print_info(
f"Press Enter to keep {current_max}. Use 90 for most tasks or 150+ for open exploration."
)
max_iter_str = prompt("Max iterations", current_max)
try: