Raise default tool rounds to 30 and cap at 100 per turn.

Update gateway, worker, direct_loop, and Admin tool policy UI/docs for AIA_TURN_MAX_TOOL_ROUNDS.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-27 17:34:39 +08:00
parent aea02cea3e
commit 89b295293d
9 changed files with 20 additions and 19 deletions

View file

@ -42,7 +42,7 @@ class GenerationInterrupted(Exception):
@dataclass(frozen=True)
class AgentConfig:
max_messages: int = AGENT_CONTEXT_MESSAGES
max_tool_rounds: int = 8
max_tool_rounds: int = 30
max_tool_workers: int = 8