Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Update comment

Magnus Müller6522d2a4f174
diff --git a/browser_use/llm/openai/chat.py b/browser_use/llm/openai/chat.py
index 21abe8a96..78821c394 100644
--- a/browser_use/llm/openai/chat.py
+++ b/browser_use/llm/openai/chat.py
@@ -46,9 +46,8 @@ class ChatOpenAI(BaseChatModel):
model: ChatModel | str
# Model params
- # set to 0.1 because browser-use aims to be more reliable and deterministic
temperature: float | None = 0.2
- frequency_penalty: float | None = 0.3
+ frequency_penalty: float | None = 0.3 # this avoids infinite generation of \t for models like 4.1-mini
reasoning_effort: ReasoningEffort = 'low'
seed: int | None = None
service_tier: Literal['auto', 'default', 'flex', 'priority', 'scale'] | None = None