feat(browser): add maxActionsPerTask for browser agent setting (#23216)

This commit is contained in:
cynthialong0-0
2026-03-24 14:40:48 -07:00
committed by GitHub
parent 11dc33eab7
commit 466671eed4
8 changed files with 82 additions and 0 deletions

View File

@@ -1208,6 +1208,16 @@ const SETTINGS_SCHEMA = {
'Disable user input on browser window during automation.',
showInDialog: false,
},
maxActionsPerTask: {
type: 'number',
label: 'Max Actions Per Task',
category: 'Advanced',
requiresRestart: false,
default: 100,
description:
'The maximum number of tool calls allowed per browser task. Enforcement is hard: the agent will be terminated when the limit is reached.',
showInDialog: false,
},
confirmSensitiveActions: {
type: 'boolean',
label: 'Confirm Sensitive Actions',