Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Update MAX_STRING_LENGTH to 500000
Magnus Müller868db5e657b8
diff --git a/browser_use/agent/cloud_events.py b/browser_use/agent/cloud_events.pyindex be6f00b1f..43142f8b1 100644--- a/browser_use/agent/cloud_events.py+++ b/browser_use/agent/cloud_events.py@@ -8,7 +8,7 @@ from bubus import BaseEventfrom pydantic import Field, field_validatorfrom uuid_extensions import uuid7str-MAX_STRING_LENGTH = 100000 # 100K chars ~ 25k tokens should be enough+MAX_STRING_LENGTH = 500000 # 100K chars ~ 25k tokens should be enoughMAX_URL_LENGTH = 100000MAX_TASK_LENGTH = 100000MAX_COMMENT_LENGTH = 2000