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 browser_use/agent/views.py
Gregor Žuničd7c8dc99a877
diff --git a/browser_use/agent/views.py b/browser_use/agent/views.pyindex f538e2a25..f8c6987e9 100644--- a/browser_use/agent/views.py+++ b/browser_use/agent/views.py@@ -262,7 +262,7 @@ class AgentHistoryList(BaseModel):"""List of AgentHistory messages, i.e. the history of the agent's actions and thoughts."""history: list[AgentHistory]- usage: UsageSummary | None+ usage: UsageSummary | None = Nonedef total_duration_seconds(self) -> float:"""Get total duration of all steps in seconds"""