Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 819aa77

Browse files
committed
Update thinking_budget handling in ChatGoogle class to use dynamic value
1 parent 72f1585 commit 819aa77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser_use/llm/google/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ async def ainvoke(
199199
config['seed'] = self.seed
200200

201201
if self.thinking_budget is not None:
202-
thinking_config_dict: types.ThinkingConfigDict = {'thinking_budget': -1}
202+
thinking_config_dict: types.ThinkingConfigDict = {'thinking_budget': self.thinking_budget}
203203
config['thinking_config'] = thinking_config_dict
204204

205205
if self.max_output_tokens is not None:

0 commit comments

Comments
 (0)