Skip to content

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

hotfix

mertunsall0d6d759c5cd0
diff --git a/browser_use/llm/google/chat.py b/browser_use/llm/google/chat.py
index fe76b417f..7a2a7329b 100644
--- a/browser_use/llm/google/chat.py
+++ b/browser_use/llm/google/chat.py
@@ -182,7 +182,8 @@ class ChatGoogle(BaseChatModel):
config['system_instruction'] = system_instruction
if self.thinking_budget is not None:
- config['thinking_budget'] = types.ThinkingBudget(thinking_budget=self.thinking_budget)
+ thinking_config_dict: types.ThinkingConfigDict = {'thinking_budget': self.thinking_budget}
+ config['thinking_config'] = thinking_config_dict
async def _make_api_call():
if output_format is None:
diff --git a/eval/service.py b/eval/service.py
index ebc84a63f..4a4a5c5a2 100644
--- a/eval/service.py
+++ b/eval/service.py
@@ -736,7 +736,7 @@ SUPPORTED_MODELS = {
'api_key_env': 'GEMINI_API_KEY',
'thinking_budget': 0,
},
- 'gemini-2.5-flash-lite': {
+ 'gemini-2.5-flash-lite-preview': {
'provider': 'google',
'model_name': 'gemini-2.5-flash-lite-preview-06-17',
'api_key_env': 'GEMINI_API_KEY',