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
hot-fix/reasoning-models (#2631)
Magnus Müllerfb927381dbd4
diff --git a/browser_use/llm/openai/chat.py b/browser_use/llm/openai/chat.pyindex d2ea1a013..34fe15973 100644--- a/browser_use/llm/openai/chat.py+++ b/browser_use/llm/openai/chat.py@@ -179,7 +179,7 @@ class ChatOpenAI(BaseChatModel):if self.service_tier is not None:model_params['service_tier'] = self.service_tier- if self.model in ReasoningModels:+ if any(str(m).lower() in str(self.model).lower() for m in ReasoningModels):model_params['reasoning_effort'] = self.reasoning_effortmodel_params['temperature'] = 1model_params['frequency_penalty'] = 0