tenseleyflow/loader / 4545623

Browse files

Raise max_iterations from 15 to 200; text loop detector is the real termination mechanism

Authored by espadonne
SHA
4545623ce4b66506b2da14a6c96e308d5802b1c8
Parents
c252d07
Tree
42b4144

1 changed file

StatusFile+-
M src/loader/agent/loop.py 1 1
src/loader/agent/loop.pymodified
@@ -75,7 +75,7 @@ class ReasoningConfig:
7575
 @dataclass
7676
 class AgentConfig:
7777
     """Configuration for the agent."""
78
-    max_iterations: int = 15  # Reduced from 20
78
+    max_iterations: int = 200  # High cap; text loop detector is the real termination mechanism
7979
     temperature: float = 0.3  # Low for better instruction following
8080
     max_tokens: int = 2048  # Reduced from 4096, most responses are shorter
8181
     force_react: bool = False  # Force ReAct even if model supports native tools