From 382bbd45fcd626fc8decd4fdca976c0565a7f66b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20M=C3=BCller?= <67061560+MagMueller@users.noreply.github.com> Date: Fri, 19 Sep 2025 23:14:28 -0700 Subject: [PATCH] Include thinking_budget -1 --- browser_use/llm/google/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser_use/llm/google/chat.py b/browser_use/llm/google/chat.py index d03b1b7d3..b00bb4d5c 100644 --- a/browser_use/llm/google/chat.py +++ b/browser_use/llm/google/chat.py @@ -199,7 +199,7 @@ class ChatGoogle(BaseChatModel): config['seed'] = self.seed if self.thinking_budget is None and 'gemini-2.5-flash' in self.model: - self.thinking_budget = 0 + self.thinking_budget = -1 if self.thinking_budget is not None: thinking_config_dict: types.ThinkingConfigDict = {'thinking_budget': self.thinking_budget}