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
Remove frequency_penalty parameter from model_params in ChatOpenAI class to streamline configuration
Magnus Müller4bc22fb84e79
diff --git a/browser_use/llm/openai/chat.py b/browser_use/llm/openai/chat.pyindex 90be4c58c..a679bb445 100644--- a/browser_use/llm/openai/chat.py+++ b/browser_use/llm/openai/chat.py@@ -184,7 +184,7 @@ class ChatOpenAI(BaseChatModel):if self.model in ReasoningModels:model_params['reasoning_effort'] = self.reasoning_effortmodel_params['temperature'] = 1- model_params['frequency_penalty'] = 0+ del model_params['frequency_penalty']if output_format is None:# Return string response