fix(agent): raise max iterations default from 10 to 200

The low default caused the agent to stop mid-task prematurely.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
William Valentin
2026-02-15 21:48:16 -08:00
parent 4cdad8eee9
commit 7f563b4bb1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ export class NativeAgent {
this.session = config.session;
this.toolRegistry = config.toolRegistry;
this.toolExecutor = config.toolExecutor;
this.maxIterations = config.maxIterations ?? 10;
this.maxIterations = config.maxIterations ?? 200;
this.onToolUse = config.onToolUse;
this._toolPolicyContext = config.toolPolicyContext;
this._attachmentCollector = config.attachmentCollector;