Skip to content

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

Refactor reasoning_effort parameter to be non-optional and default to 'low'

mertunsall6bdb4d59201c
diff --git a/browser_use/llm/openai/chat.py b/browser_use/llm/openai/chat.py
index 7cc299ee1..8119b41c3 100644
--- a/browser_use/llm/openai/chat.py
+++ b/browser_use/llm/openai/chat.py
@@ -33,7 +33,7 @@ class ChatOpenAI(BaseChatModel):
# Model params
temperature: float | None = None
- reasoning_effort: str | None = 'low'
+ reasoning_effort: str = 'low'
# Client initialization parameters
api_key: str | None = None