Commit Graph

26 Commits

Author SHA1 Message Date
Nick Sweeting
3cf9f3410c fix config issues 2025-06-21 04:03:58 -07:00
Nick Sweeting
49e9fd4ff2 move env var config to utils file 2025-06-21 03:14:46 -07:00
mertunsall
0c34c399db Merge branch 'main' into mert/new_everything 2025-06-17 11:19:06 +02:00
Nick Sweeting
39ffb0866f dont squash browser_use logger names 2025-06-10 02:10:13 -07:00
Magnus Müller
de163e4a75 Add Groq support in logging configuration and introduce llama4-groq example script 2025-06-02 14:19:01 +02:00
Nick Sweeting
2195ce6e1b wrap windows async adjustment in except 2025-05-28 02:03:28 -07:00
Nick Sweeting
08726575ac simplify close messages 2025-05-23 22:05:19 -07:00
Nick Sweeting
f6ca4e13a3 massively improve logging experience and add loading animation on browser startup 2025-05-23 00:48:52 -07:00
Nick Sweeting
6b8360c475 better logging 2025-05-22 23:17:21 -07:00
Magnus Müller
c40efbc890 Refactor logging configuration and adjust log levels in memory service
- Updated `logging_config.py` to improve clarity in third-party logger management by renaming the list and adding new loggers.
- Changed log level from `info` to `debug` in `service.py` for better granularity in message processing feedback.
2025-05-21 13:45:53 +02:00
Nick Sweeting
c2d29fc5af hide startup log msg 2025-05-03 17:28:57 +08:00
Nick Sweeting
2be4ba4f70 more pyupgrade changes 2025-05-02 20:50:21 +08:00
Nick Sweeting
89d48ad50f manually fix remaining broken lines 2025-03-28 18:13:47 -07:00
David
086f0d90e2 Fix logging formatter to handle non-string record names 2025-01-29 12:56:05 -05:00
magmueller
bc029639b1 Deepseek r1 working draft 2025-01-25 18:19:12 -08:00
magmueller
b87d0588b2 Silence third party loggers for anthropic and gifs 2025-01-19 12:42:59 -08:00
Jan Rupnik
e9372270d3 Fix so that logging_config.py reads .env file (#162)
Without it the variable BROWSER_USE_LOGGING_LEVEL in .env is ignored
2025-01-10 07:44:38 -08:00
magmueller
07bba9ae32 Example apply to jobs 2024-11-25 09:45:02 +01:00
magmueller
23d997daa6 Fix logger 2024-11-25 07:46:31 +01:00
Gregor Žunič
9255d37b0d default logging level is info 2024-11-22 21:46:56 +01:00
Gregor Žunič
6e9d6c07a9 formatting logging 2024-11-22 21:39:43 +01:00
Gregor Žunič
b48f94e394 Merge pull request #40 from BedroomDev:main
ResultOnlyMode: Added logLevel.RESULT & env to filter the output
2024-11-22 17:20:44 +01:00
Gregor Žunič
0019105a49 fixed merge errors 2024-11-22 15:08:58 +01:00
Marvin
864483968c Added logLevel.RESULT and to filter the output 2024-11-21 12:01:27 +01:00
Gregor Žunič
4f74170685 Added anonymized posthog telemetry (#22)
* added anonymized telemetry

* collect data with posthog readme
2024-11-17 01:17:01 +01:00
Gregor Žunič
89c63fdd63 Added custom actions registry and fixed extraction layer (#20)
* Validator

* Test mind2web

* Cleaned up logger

* Pytest logger

* Cleaned up logger

* Disable flag for human input

* Multiple clicks per button

* Multiple clicks per button

* More structured system prompt

* Fields with description

* System prompt example

* One logger

* Cleaner logging

* Log step in step function

* Fix critical clicking error - wrong argument used

* Improved thought process of agent

* Improve system prompt

* Remove human input message

* Custome action registration

* Pydantic model for custom actions

* Pydantic model for custome output

* Runs through, model outputs functions, but not called yet

* Work in progress - description for custome actions

* Description works, but schema not yet

* Model can call the right action - but is not executed

* Seperate is_controller_action  and is_custom_action

* Works! Model can call custom function

* Use registry for action, but result is not feed back to model

* Include result in messages

* Works with custom function - but typing is not correct

* Renamed registry

* First test cases

* Captcha tests

* Pydantic for tests

* Improve prompts for multy step

* System prompt structure

* Handle errors like validation error

* Refactor error handling in agent

* Refactor error handling in agent

* Improved logging

* Update view

* Fix click parameter to index

* Simplify dynamic actions

* Use run instead of step

* Rename history

* Rename AgentService to Agent

* Rename ControllerService to Controller

* Pytest file

* Rename get state

* Rename BrowserService

* reversed dom extraction recursion to while

* Rename use_vision

* Rename use_vision

* reversed dom tree items and made browser less anoying

* Renaming and fixing type errors

* Renamed class names for agent

* updated requirements

* Update prompt

* Action registration works for user and controller

* Fix done call by returning ActionResult

* Fix if result is none

* Rename AgentOutput and ActionModel

* Improved prompt Passes 6/8 tests from test_agent_actions

* Calculate token cost

* Improve display

* Simplified logger

* Test function calling

* created super simple xpath extraction algo

* Tests logging

* tiny fixes to dom extraction

* Remove test

* Dont log number of clicks

* Pytest file

* merged per element js checks

* Check if driver is still open

* super fast processing

* fixed agent planning and stuff

* Fix example

* Fix example

* Improve error

* Improved error correction

* New line for step

* small type error fixes

* Test for pydantic

* Fix line

* Removed sample

* fixed readme and examples

---------

Co-authored-by: magmueller <mamagnus00@gmail.com>
2024-11-15 21:42:02 +01:00