Commit Graph

312 Commits

Author SHA1 Message Date
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
Talapally Sandeep Kumar 73d6402dac Merge branch 'main' into oracle_oci_integration 2025-09-20 12:49:36 +05:30
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
Talapally Sandeep Kumar 537721ef30 Merge branch 'main' into oracle_oci_integration 2025-09-20 09:02:11 +05:30
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 63b825db23 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-19 19:24:35 -07:00
Magnus Müller 68efc5fc30 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-19 19:24:28 -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
Talapally Sandeep Kumar ee133ed892 Merge branch 'main' into oracle_oci_integration 2025-09-19 23:11:08 +05:30
Sandeep 3cc8f06e65 fixed code style 2025-09-16 12:44:58 +05:30
Sandeep 8f387f9dd0 fixed code-styles 2025-09-16 12:38:12 +05:30
Sandeep 2cf9a7dbd5 Solved all the comments raised 2025-09-16 12:24:22 +05:30
Sandeep ffb2ee38ac fixed few more ruff linter issues 2025-09-16 03:08:54 +05:30
Sandeep bbb23f58cc fixed ruff linter issues 2025-09-16 03:03:24 +05:30
Sandeep e562970ab0 removed sensitive values 2025-09-16 02:01:36 +05:30
Sandeep 46009337fd added extra validations. 2025-09-16 01:56:07 +05:30
Sandeep 905983a7f6 removed sensitive values 2025-09-16 01:47:47 +05:30
Sandeep e2b1c3b668 Integrated Oracle ChatOciRaw 2025-09-16 01:38:04 +05:30
Tiberiu-Ioan Szatmari ab112e8cbd Merge branch 'fix-temp-creds-bedrock' of https://github.com/tioans/browser-use into fix-temp-creds-bedrock 2025-09-15 12:55:39 +02:00
Tiberiu-Ioan Szatmari c11fcdb540 Annotate session token for temporary creds 2025-09-15 12:51:36 +02:00
Tiberiu-Ioan Szatmari 6230d598b7 Update browser_use/llm/aws/chat_bedrock.py
Specify the AWS_SESSION_TOKEN is optional

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-15 12:40:28 +02:00
Tiberiu-Ioan Szatmari afd2753c7f Fix temp creds for ChatAWSBedrock 2025-09-15 12:07:10 +02:00
Sandeep 3eee52338d added chatOciRaw 2025-09-15 11:54:20 +05:30
Sandeep fc09e944c0 added proper __init__.py 2025-09-15 11:09:42 +05:30
Sandeep af3dd97e4a added test single step calls 2025-09-15 11:07:47 +05:30
Sandeep b6b5b9176f single step tests added 2025-09-15 03:24:08 +05:30
Sandeep 52bfee798e added sample test case for chatmodels 2025-09-15 03:13:13 +05:30
Magnus Müller df80c01cce Refactor reasoning_models initialization in ChatOpenAI class
Changed the initialization of reasoning_models to use a default factory with field(), enhancing clarity and maintainability of the code.
2025-09-07 22:26:16 -07:00
Magnus Müller 9e5ab89b67 Refine reasoning_models check in ChatOpenAI class
Updated the condition for checking reasoning_models to ensure it only evaluates if reasoning_models is not empty, improving code robustness.
2025-09-07 22:16:13 -07:00
Magnus Müller 2b0045feff make reasoning_models a parameter 2025-09-07 22:15:13 -07:00
Magnus Müller a5eae475a1 update comments in deepseek 2025-09-07 19:11:18 -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 e102e45c4e Merge branch 'main' into add-ollama-options 2025-09-06 09:57:53 -07:00