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
fix more
mertunsallbcc8a7e54ee0
diff --git a/browser_use/llm/openai/chat.py b/browser_use/llm/openai/chat.pyindex 79f7d04b8..68ab2da47 100644--- a/browser_use/llm/openai/chat.py+++ b/browser_use/llm/openai/chat.py@@ -117,7 +117,7 @@ class ChatOpenAI(BaseChatModel):else None)if response.usage is not None and response.usage.completion_tokens_details is not None:- usage.completion_tokens += response.usage.completion_tokens_details.reasoning_tokens+ usage.completion_tokens += response.usage.completion_tokens_details.reasoning_tokens or 0return usage