Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Changing Pydantic limit for Amazon Bedrock ARN in model

Smaran Nama Arunkumarb3c52e8f7a2f
diff --git a/browser_use/agent/cloud_events.py b/browser_use/agent/cloud_events.py
index 83ca52a66..ed7b3c4b3 100644
--- a/browser_use/agent/cloud_events.py
+++ b/browser_use/agent/cloud_events.py
@@ -188,7 +188,7 @@ class CreateAgentTaskEvent(BaseEvent):
user_id: str = Field(max_length=255) # Added for authorization checks
device_id: str | None = Field(None, max_length=255) # Device ID for auth lookup
agent_session_id: str
- llm_model: str = Field(max_length=100) # LLMModel enum value as string
+ llm_model: str = Field(max_length=200) # LLMModel enum value as string
stopped: bool = False
paused: bool = False
task: str = Field(max_length=MAX_TASK_LENGTH)