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 prompts and adjust temperature setting
Magnus Müller4cb585e8a04b
diff --git a/browser_use/agent/prompts.py b/browser_use/agent/prompts.pyindex 0e5eccd4c..a7b0739ca 100644--- a/browser_use/agent/prompts.py+++ b/browser_use/agent/prompts.py@@ -212,10 +212,10 @@ Available tabs:</user_request><file_system>{self.file_system.describe() if self.file_system else 'No file system available'}+</file_system><todo_contents>{_todo_contents}</todo_contents>-</file_system>"""if self.sensitive_data:agent_state += f'<sensitive_data>\n{self.sensitive_data}\n</sensitive_data>\n'diff --git a/browser_use/llm/openai/chat.py b/browser_use/llm/openai/chat.pyindex caaeccf58..78821c394 100644--- a/browser_use/llm/openai/chat.py+++ b/browser_use/llm/openai/chat.py@@ -46,7 +46,7 @@ class ChatOpenAI(BaseChatModel):model: ChatModel | str# Model params- temperature: float | None = 0.05+ temperature: float | None = 0.2frequency_penalty: float | None = 0.3 # this avoids infinite generation of \t for models like 4.1-minireasoning_effort: ReasoningEffort = 'low'seed: int | None = None