Commit Graph

242 Commits

Author SHA1 Message Date
Magnus Müller
b678f27a3e Migration from highlight index to backendnode id 2025-10-21 21:02:28 -07:00
Magnus Müller
9caa248316 Merge code7 branch changes 2025-10-21 18:55:54 -07:00
Reagan Hsu
8e2845a6db add new models 2025-10-19 23:29:20 -07:00
Magnus Müller
98995449c2 reduce max_output_tokens gemini 2025-10-14 14:31:57 -07:00
Saurav Panda
c96dbd0736 Merge branch 'main' into oracle_oci_integration 2025-10-08 23:10:45 -07:00
Magnus Müller
c836fd8b58 Linter 2025-10-08 23:08:02 -07:00
Magnus Müller
b3c9cd1b67 remove prompt_description 2025-10-08 22:58:59 -07:00
Sandeep
43c5159c4e solved ruff validarions 2025-10-09 01:15:12 +05:30
Sandeep
5e0d3e4a2e Merge branch 'main' into oracle_oci_integration
# Conflicts:
#	browser_use/llm/models.py
2025-10-09 01:04:11 +05:30
Magnus Müller
de0488031d Squashed commit of the following:
commit 92d1732a40
Merge: fa4ff47a efcd2b33
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Wed Oct 8 08:18:35 2025 -0700

    Merge main

commit fa4ff47ae4
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Wed Oct 8 08:03:04 2025 -0700

    Laminar info mode

commit 8625aa9ba9
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Wed Oct 8 08:02:54 2025 -0700

    Default to flash for browser use llm

commit 69a517ad7c
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Wed Oct 8 08:02:44 2025 -0700

    Update example

commit c91467c51d
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Wed Oct 8 08:02:15 2025 -0700

    Update example

commit 4e2b3f1306
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Wed Oct 8 07:54:05 2025 -0700

    Linter

commit e8d6936a47
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Wed Oct 8 07:53:43 2025 -0700

    Example

commit 961d6fc451
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Wed Oct 8 07:52:23 2025 -0700

    Update default links

commit 0b2853859b
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Wed Oct 8 07:44:59 2025 -0700

    Default fast fasle

commit 9d67594b63
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 22:01:24 2025 -0700

    Simplify

commit f5712bdec0
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 21:45:00 2025 -0700

    Parsing json

commit 503af624dd
Merge: ef7fa1e4 0d2522b1
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 21:04:31 2025 -0700

    Merge branch 'flat-output' of https://github.com/browser-use/browser-use into flat-output

commit ef7fa1e401
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 21:04:28 2025 -0700

    Add prompt description handling for browser-use cloud service

    - Enhanced the Agent class to generate and pass prompt descriptions to the LLM when using the browser-use provider.
    - Updated the ChatBrowserUse class to accept an optional prompt_description parameter in the ainvoke method.
    - Modified the tracked_ainvoke function in TokenCost to forward additional keyword arguments.
    - Adjusted example model to initialize Laminar for tracing.

commit 0d2522b1f9
Author: Gregor Žunič <36313686+gregpr07@users.noreply.github.com>
Date:   Tue Oct 7 20:23:39 2025 -0700

    updated default base url

commit 0a2e6d6520
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 18:50:56 2025 -0700

    Hide api key

commit 96bba9692b
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 18:49:05 2025 -0700

    Add env var loading and validation to ChatBrowserUse, update example

commit c2e57a3bab
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 18:36:31 2025 -0700

    Linter

commit 3d4cc1dbec
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 16:28:10 2025 -0700

    Rename

commit 14ab0b75fe
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 16:21:52 2025 -0700

    Rename super_fast to fast parameter in ChatBrowserUse

commit 7fab3c47d3
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 16:08:10 2025 -0700

    Update system prompt

commit 2066e77b98
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 16:07:51 2025 -0700

    Del claude file

commit 297b767e91
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 16:01:50 2025 -0700

    Revert flash system prompt to JSON format

    - Reverted system_prompt_flash.md to main (JSON format)
    - Added examples/models/browser_use_cloud.py for llm-use cloud service
    - llm-use service will inject unstructured format on the server side

commit 99af55f8e9
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 15:58:40 2025 -0700

    Example

commit 657ff0d352
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 15:54:23 2025 -0700

    Remove unused

commit a42123d8e5
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 15:49:54 2025 -0700

    ignore

commit de4fe19020
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 15:48:01 2025 -0700

    Example

commit 27e5ab9947
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 14:29:01 2025 -0700

    Add llm-use cloud client example

    - ChatLLMUseCloud: Browser-use compatible client for llm-use service
    - Implements BaseChatModel protocol with proper typing
    - Includes credit checking before/after tasks
    - Error handling for 401/402/500 responses
    - Converts messages between browser-use and HTTP API formats
    - Returns ChatInvokeCompletion with usage stats

    Usage:
      export LLM_USE_URL='https://your-app.railway.app'
      export LLM_USE_API_KEY='your-key'
      python examples/llm_use_cloud_client.py

commit a47a448005
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Tue Oct 7 13:03:59 2025 -0700

    Enhance response parsing in ChatBrowserUse to handle structured data from the API, including debug logging for received data keys.

commit e79c7dc633
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Mon Oct 6 19:39:29 2025 -0700

    Include browser-use llm

commit 584d977154
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Mon Oct 6 17:55:31 2025 -0700

    Linter

commit b0ac87076a
Merge: 1183b8fe 0076775f
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Mon Oct 6 15:01:37 2025 -0700

    merge main

commit 1183b8fe6b
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Sun Oct 5 16:26:34 2025 -0700

    Fix done output action model

commit 852449b1bc
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Sun Oct 5 16:23:31 2025 -0700

    More debug info

commit a57ba25d36
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Sun Oct 5 16:07:15 2025 -0700

    Multiline parser

commit 2153dbe6aa
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Sun Oct 5 15:50:14 2025 -0700

    Fix custom output

commit ec5c08ba0f
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Sun Oct 5 15:36:54 2025 -0700

    Fix files in output

commit 7444048e8f
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Sun Oct 5 15:28:09 2025 -0700

    Update codebase with unstructured output

commit a8f05b4611
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Sun Oct 5 14:55:20 2025 -0700

    Save systemprompt

commit d7d112c569
Author: Magnus Müller <67061560+MagMueller@users.noreply.github.com>
Date:   Sun Oct 5 14:51:24 2025 -0700

    new parser
2025-10-08 08:39:24 -07:00
kevint-cerebras
82752d5380 linter 2025-10-07 11:08:15 -07:00
kevint-cerebras
f9d06a4852 create cerebras project 2025-10-07 11:02:16 -07:00
Talapally Sandeep Kumar
b2e461462e Merge branch 'main' into oracle_oci_integration 2025-10-06 11:37:01 +05:30
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
6381d6794f Remove create_gemini_optimized_schema 2025-10-05 19:03:05 -07:00
Magnus Müller
1248c07e83 Remove descripitons 2025-10-05 13:02:43 -07:00
Magnus Müller
968414b982 Compress gemini schema 2025-10-05 12:48:25 -07:00
Talapally Sandeep Kumar
c09540a5bc Merge branch 'main' into oracle_oci_integration 2025-10-04 12:10:37 +05:30
Magnus Müller
4a78c64dcf Update default media type to JPEG in messages and serializer 2025-10-03 21:33:07 -07:00
Magnus Müller
a8e6af254e Switch all to jpeg 2025-10-03 21:32:47 -07:00
Talapally Sandeep Kumar
4df5987be2 Merge branch 'main' into oracle_oci_integration 2025-10-04 00:13:19 +05:30
Wyatt Avilla
de4d6d3cca anthropic types fix 2025-10-01 21:12:56 -07:00
Talapally Sandeep Kumar
a3eaf17038 Merge branch 'main' into oracle_oci_integration 2025-09-29 19:17:52 +05:30
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
Talapally Sandeep Kumar
075f663dbf Merge branch 'main' into oracle_oci_integration 2025-09-23 15:41:03 +05:30
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
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