Commit Graph

1448 Commits

Author SHA1 Message Date
Magnus Müller 9caa248316 Merge code7 branch changes 2025-10-21 18:55:54 -07:00
Magnus Müller c00ad67830 Use lower check 2025-10-19 22:04:32 -07:00
Magnus Müller f1ccdfbf6d Remove general endings 2025-10-19 22:04:32 -07:00
Magnus Müller 66dad509d4 refactor: Improve URL filtering logic by considering surrounding context
Enhanced the URL detection process by storing the original position of URLs and checking the surrounding context for excluded words before modifying the URL. This change ensures more accurate filtering and prevents navigation to undesired links while maintaining the addition of 'https://' for URLs missing a scheme.
2025-10-19 22:04:32 -07:00
Magnus Müller e9b4940158 Remove position 2025-10-19 22:04:32 -07:00
Magnus Müller b7e5c4323f refactor: Rename URL extraction method and enhance filtering
Renamed the method for extracting URLs from tasks to `_extract_start_url` for clarity. Added logic to exclude URLs based on specific words in the surrounding context, improving the accuracy of URL detection and preventing navigation to undesired links.
2025-10-19 22:04:32 -07:00
Magnus Müller 3fd7b1ab47 refactor: Format excluded file extensions for better readability
Updated the excluded_extensions list in the Agent class to improve code readability by formatting each file extension on a new line. This change enhances maintainability without altering functionality.
2025-10-19 22:04:32 -07:00
Cursor Agent 75af987149 feat: Exclude file extensions from URL detection
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-10-19 22:04:32 -07:00
Gregor Žunič bc3fd6a2dc loaders for AgentHistoryModel from dict 2025-10-16 14:36:57 -07:00
Magnus Müller a7262ef082 Fix structured output 2025-10-14 13:38:49 -07:00
Magnus Müller b59c2bf539 Success to true msg 2025-10-13 21:47:41 -07:00
Magnus Müller e06f87c1ad improve force done message 2025-10-13 21:25:20 -07:00
Magnus Müller 7308454f27 initial action 2025-10-13 16:08:02 -07:00
Magnus Müller 456b86c3a3 Log wait time 2025-10-12 17:11:55 -07:00
Magnus Müller 17bc69545e Fix import 2025-10-12 13:33:20 -07:00
Magnus Müller 131c6af93d Remove new lines in system prompt 2025-10-12 13:26:16 -07:00
Magnus Müller 3eb6a5cb42 6 tokens less 2025-10-12 13:09:14 -07:00
Magnus Müller a50f2ca5b3 Small token changes 2025-10-12 13:09:10 -07:00
Magnus Müller ac9301b0d6 Reduce string for todo.md 2025-10-12 13:08:54 -07:00
Magnus Müller 75b4fe58ba Result:\n to Result\n because :\ would be the token 2025-10-12 13:08:14 -07:00
Magnus Müller d1d313f0f4 Remove </step> - 3 tokens x number of steps taken 2025-10-12 13:08:05 -07:00
Magnus Müller 1f1df8b9bb Remove brief delay in agent session initialization to streamline task dispatching 2025-10-11 23:46:16 -07:00
Magnus Müller f795d8e788 Merge branch 'main' into fix-output-format 2025-10-11 23:21:54 -07:00
Magnus Müller 02574dec45 Add output to task 2025-10-11 23:21:20 -07:00
Magnus Müller 87fadd0bca Remove check_for_new_elements 2025-10-11 18:26:52 -07:00
Magnus Müller d42394b2b1 remove-multiact-hash-check 2025-10-11 17:27:35 -07:00
Magnus Müller f531826119 Default to chatbrowseruse 2025-10-11 15:38:35 -07:00
Magnus Müller cb384f11b0 Logs 2025-10-11 12:51:33 -07:00
Magnus Müller 150e1e7a65 Number of actions 2025-10-11 12:43:31 -07:00
Magnus Müller 9d3de916b6 Action logging 2025-10-11 12:42:29 -07:00
Magnus Müller 6c8effee41 Improve logging 2025-10-11 12:15:09 -07:00
Magnus Müller 9b24f57463 Improve logging 2025-10-11 12:07:46 -07:00
Magnus Müller 5c4adb2903 Clean logs 2025-10-11 11:42:40 -07:00
Saurav Panda 0fea49e0ad Merge branch 'main' into remove-auth-message 2025-10-09 11:46:35 -07:00
Magnus Müller 30edb9f3dd Update agent 2025-10-08 22:04:41 -07:00
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
mertunsall 7632a9f56f store state message in the history 2025-10-08 16:49:50 +02:00
Magnus Müller 117900e6a6 Update system prompt to use 'files_to_display' instead of 'files' for attachment handling 2025-10-05 21:43:27 -07:00
Magnus Müller aea0107c9e Update systemprompt 2025-10-05 20:59:17 -07:00
Magnus Müller 3d13cece05 Extremely short system prompt 2025-10-05 20:44:39 -07:00
Magnus Müller f91bcb9adc Fix system prompt 2025-10-05 20:42:19 -07:00
Magnus Müller c4fb720a45 Same output format 2025-10-05 20:38:35 -07:00
Magnus Müller 038ab1c8ce Linter 2025-10-05 20:05:51 -07:00
Magnus Müller fc36b6f8b4 System prompt flash 2025-10-05 19:59:44 -07:00
Magnus Müller 324ac74204 Linter 2025-10-05 19:21:12 -07:00
Magnus Müller b53a7c116a Update outdated function names 2025-10-05 19:12:52 -07:00
Saurav Panda 03e4da94df Merge branch 'main' into remove-auth-message 2025-10-05 17:05:18 -07:00
Saurav Panda f8be13b708 refc: removed auth message and cloud_sync_field 2025-10-05 17:04:43 -07:00
Magnus Müller 1b6b674796 Update sensitive data 2025-10-05 15:24:47 -07:00
Magnus Müller 90d414042a Update docs 2025-10-05 15:09:35 -07:00