-
Agent max clickable parameter (#4107)
发布于
2026-02-17 02:38:18 +00:00 Expose
max_clickable_elements_lengthas a configurable parameter in
theAgentand bump the version.This parameter controls the maximum length of clickable elements text
included in the agent's prompt, allowing users to adjust the level of
detail or manage prompt token usage.
Summary by cubic
Adds a new Agent setting, max_clickable_elements_length, to cap
clickable element text in prompts and control token usage. Defaults to
40000; behavior is unchanged unless you override it.- New Features
- AgentSettings now includes max_clickable_elements_length (default
40000). - Agent accepts the parameter and passes it through MessageManager to
prompt creation.- Bumped package version to 0.11.10a2.
Written for commit
270e418cea.
Summary will update on new commits.下载附件

