Increase default tool rounds to 100 with 300 cap.

Raise Admin/UI defaults and backend clamps for AIA_TURN_MAX_TOOL_ROUNDS across gateway, worker, and direct loop paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-28 11:34:20 +08:00
parent 89b295293d
commit 8233db93db
9 changed files with 18 additions and 18 deletions

View file

@ -32,8 +32,8 @@
- 生效:`oclaw/oclaw_runtime/gateway.py`, `oclaw/oclaw_runtime/direct_loop.py`
- `AIA_TURN_MAX_TOOL_ROUNDS`
- 默认:`30`
- 上限:`100`(Admin / gateway / worker 会钳制)
- 默认:`100`
- 上限:`300`(Admin / gateway / worker 会钳制)
- 作用:单轮工具循环轮次上限(一轮 = 模型思考一次并执行一批工具)
- 生效:`runtime/gateway.py`, `runtime/direct_loop.py`, `runtime/worker.py`