Skip to content

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

Update browser_use/agent/views.py

Mert Unsalc4e2dfb39a43
diff --git a/browser_use/agent/views.py b/browser_use/agent/views.py
index 470f92340..90c16d83a 100644
--- a/browser_use/agent/views.py
+++ b/browser_use/agent/views.py
@@ -93,7 +93,7 @@ class JudgementResult(BaseModel):
reasoning: str | None = Field(default=None, description='Explanation of the judgement')
verdict: bool = Field(description='Whether the trace was successful or not')
- failure_reason: str | None = Field(default=None, description='If the trace was not successful, the reason why')
+ failure_reason: str | None = Field(default=None, description='If the trace was not successful, the reason why. Otherwise empty.')
impossible_task: bool = Field(
default=False,
description='True if the task was impossible to complete due to vague instructions, broken website, inaccessible links, missing login credentials, or other insurmountable obstacles',