Commit Graph

70 Commits

Author SHA1 Message Date
Mark McDonald 90783e69b4 fix: set default temperature to 1.0 for gemini-3 models 2026-03-23 14:13:08 +08:00
Saurav Panda 6d54f521cf set default gemini thinking to auto 2026-01-26 12:44:51 -08:00
Saurav Panda bb3b1e8cf5 added minimal model for gemini 3 flash 2026-01-23 15:11:13 -08:00
Saurav Panda 041d03a93f feat: updated the thinking budget 2026-01-23 14:42:59 -08:00
Saurav Panda 5b06f4edd9 set default thinking to 0 for gemini-3 models 2026-01-23 13:44:29 -08:00
Saurav Panda 221d85744e fix: use correct MIME type for images in Google serializer 2025-12-21 09:45:09 -08:00
Saurav Panda eb2382c7c4 added gemini 3 flash preview model 2025-12-18 11:25:23 -08:00
mertunsall dc0db88215 kv caching for BU agents 2025-12-15 18:23:22 -08:00
Saurav Panda 49882fb086 added gemini-3-pro-preview to verified models 2025-12-09 13:38:34 -08:00
Mert Unsal 4d87e49e1f Merge branch 'main' into mert/structured_output 2025-11-25 13:43:55 -08:00
mertunsall ed7cfa4ab2 fix title problem in schema as well as enum problems 2025-11-25 13:02:39 -08:00
mertunsall 84be050ed7 exponential retries improved 2025-11-25 11:18:03 -08:00
Magnus Müller af649d357a Retry 503 errors 2025-10-29 23:04:58 -07:00
Magnus Müller b27d7fe9d2 Retry 503 errors 2025-10-29 23:02:06 -07:00
Magnus Müller 9715c4e764 Linter 2025-10-29 17:14:45 -07:00
Magnus Müller 577c1ff148 Retry google on 403 error. 2025-10-29 16:51:32 -07:00
Magnus Müller 9caa248316 Merge code7 branch changes 2025-10-21 18:55:54 -07:00
Magnus Müller 98995449c2 reduce max_output_tokens gemini 2025-10-14 14:31:57 -07:00
Magnus Müller 3aaafa7bf8 Remove required from prompt 2025-10-05 20:30:36 -07:00
Magnus Müller a3a811e3be Remove create_gemini_optimized_schema 2025-10-05 19:03:10 -07:00
Magnus Müller 968414b982 Compress gemini schema 2025-10-05 12:48:25 -07:00
Magnus Müller a8e6af254e Switch all to jpeg 2025-10-03 21:32:47 -07:00
Magnus Müller 781f948bb8 change gemini 2.5 flash to gemini latest 2025-09-26 15:54:19 -07:00
Magnus Müller 6c7b5cd622 fix-gemini-thinking-budget-for-latest-lite-version 2025-09-26 12:09:03 -07:00
Magnus Müller 6d77cc6bb9 fix-gemini-thinking-budget-for-latest-version 2025-09-26 11:53:58 -07:00
Magnus Müller db27b32b04 fix gemini client 2025-09-26 09:50:01 -07:00
Magnus Müller cf0ad68b4c Merge branch 'speed-ups3' of https://github.com/browser-use/browser-use into speed-ups3 2025-09-22 18:37:59 -07:00
Magnus Müller 343b766b09 Comment 2025-09-22 18:37:57 -07:00
Magnus Müller c8e00e4511 Update browser_use/llm/google/chat.py
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-22 18:35:26 -07:00
Magnus Müller 5d749793ec Refactor model timeout logic and enhance ModelProviderError initialization 2025-09-22 16:02:03 -07:00
Magnus Müller d5ba9008b7 Update thinking_budget default value to 0 for flash and flash-lite models 2025-09-22 14:50:24 -07:00
Magnus Müller aa56461dbc Update thinking_budget default value to -1 for specific model 2025-09-20 07:23:17 -07:00
Magnus Müller 545dc86295 Include thinking_budget 0 2025-09-19 23:40:32 -07:00
Magnus Müller 13a83b7321 Include thinking_budget 600 2025-09-19 23:22:56 -07:00
Magnus Müller 382bbd45fc Include thinking_budget -1 2025-09-19 23:14:28 -07:00
Magnus Müller 653fa4206f Automaticlly set reasoning budget to 0 for 2.5 flash, because we do it with thinking for memory 2025-09-19 22:21:37 -07:00
Magnus Müller fbcde93cad Force no thinking 2025-09-19 19:40:33 -07:00
Magnus Müller af1fe232f1 Forse thinking -1 2025-09-19 19:39:18 -07:00
Magnus Müller 7e2d4de32c Timing 2025-09-19 19:36:53 -07:00
Magnus Müller 0aa3163693 Include response in parsing 2025-09-19 19:21:48 -07:00
Magnus Müller b72dea7972 Improve error logging in ChatGoogle class by including response details in the error message when no response is received from the model. 2025-09-19 19:15:44 -07:00
Magnus Müller 819aa77838 Update thinking_budget handling in ChatGoogle class to use dynamic value 2025-09-19 19:14:21 -07:00
Magnus Müller 72f1585f9a Remove presence_penalty 2025-09-19 18:24:05 -07:00
Magnus Müller daf7937b73 Refactor API call handling in ChatGoogle class
- Removed the partial response capture wrapper method to simplify API call logic.
- Directly invoked API calls in multiple locations, improving readability and maintainability.
- Enhanced response handling to strip JSON wrappers from responses, ensuring proper parsing.
- Updated logging to provide clearer context during API interactions.

This change streamlines the API interaction process and improves error handling clarity.
2025-09-19 18:20:47 -07:00
Magnus Müller 77f34541bb Logging 2025-09-19 17:48:19 -07:00
Magnus Müller f31b7e003d Force dynamic thinking 2025-09-19 17:38:07 -07:00
Magnus Müller c4ba833bc4 thinking_budget 0 2025-09-19 17:18:04 -07:00
Magnus Müller 483f8aeba2 Merge branch 'main' into gemma 2025-09-07 17:24:34 -07:00
Magnus Müller 6fe2afde21 Merge branch 'main' into main 2025-09-06 13:20:14 -07:00
Magnus Müller e1b343e842 Remove comment 2025-09-02 14:54:57 -07:00