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

@ -1364,7 +1364,7 @@ def run_oclaw_direct_loop(
run_id: str | None = None,
attempt_no: int | None = None,
max_messages: int = 80,
max_tool_rounds: int = 8,
max_tool_rounds: int = 30,
max_tool_workers: int = 8,
on_token: Optional[Callable[[str], None]] = None,
on_progress: Optional[Callable[[str], None]] = None,