From 01acf052cd7bc1403ccca337cf716556940f855c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20M=C3=BCller?= <67061560+MagMueller@users.noreply.github.com> Date: Thu, 4 Sep 2025 17:33:41 -0700 Subject: [PATCH] Remove recovery_attempted attribute from AgentState model to streamline state management. --- browser_use/agent/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/browser_use/agent/views.py b/browser_use/agent/views.py index fb85e8973..8de986114 100644 --- a/browser_use/agent/views.py +++ b/browser_use/agent/views.py @@ -65,7 +65,6 @@ class AgentState(BaseModel): stopped: bool = False session_initialized: bool = False # Track if session events have been dispatched follow_up_task: bool = False # Track if the agent is a follow-up task - recovery_attempted: bool = False # Track if final recovery has been attempted message_manager_state: MessageManagerState = Field(default_factory=MessageManagerState) file_system_state: FileSystemState | None = None