Skip to content

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

by default freq penalty should be None since gpt-5 doesnt allow it

mertunsall759c33142ade
diff --git a/browser_use/llm/openai/chat.py b/browser_use/llm/openai/chat.py
index 00c9db82e..ac3007cb5 100644
--- a/browser_use/llm/openai/chat.py
+++ b/browser_use/llm/openai/chat.py
@@ -35,8 +35,9 @@ class ChatOpenAI(BaseChatModel):
model: ChatModel | str
# Model params
- temperature: float | None = 0.2
- frequency_penalty: float | None = 0.05
+ # set to 0.1 because browser-use aims to be more reliable and deterministic
+ temperature: float | None = 0.1
+ frequency_penalty: float | None = None
reasoning_effort: ReasoningEffort = 'low'
seed: int | None = None
service_tier: Literal['auto', 'default', 'flex', 'priority', 'scale'] | None = None