Commit Graph

488 Commits

Author SHA1 Message Date
magmueller 41ebcddab6 Automaticlly detect function calling method to fix structured output for ChatOpenAI and upgrade to langchain-openai>=0.3.0 2025-01-19 11:33:20 -08:00
Magnus Müller a2dca9d91f Update pyproject.toml downgrade langchain-openai 2025-01-14 01:03:18 +01:00
magmueller 7e1a119706 Update version 2025-01-13 07:53:36 -08:00
magmueller fd93df4bd4 Fix source 2025-01-12 22:29:50 -08:00
Gregor Žunič 1a5a4bd557 release version 0.1.19 2025-01-11 08:02:38 -08:00
Dheeraj Oruganty 7ee4372a32 Add Bedrock Support for Browser Use (#196)
* Add bedrock example

* remove extra imports

* Improve Prompt

* Rename file to follow convention

* Delete examples/bedrock_example.py

* Update pyproject.toml for bedrock
2025-01-10 07:24:39 -08:00
Magnus Müller 6da03972e7 Update pyproject.toml 2025-01-07 19:06:52 +01:00
magmueller a30d2b928c Update package versions 2025-01-07 09:29:44 -08:00
Gregor Žunič 0f0d0b8d20 bumped up version, web voyager agent example 2024-12-10 12:42:38 +01:00
Gregor Žunič cb0b2ffa3b added parralization agents to docs 2024-12-03 14:52:49 +01:00
magmueller 024c338bf4 Update version 2024-11-29 09:04:39 +01:00
magmueller 55e561def6 Update how we import buildDomTree 2024-11-29 08:59:14 +01:00
magmueller 7daac73831 Update how we import buildDomTree 2024-11-29 08:39:05 +01:00
magmueller 8512f2e42d Update how we import buildDomTree 2024-11-29 08:12:48 +01:00
magmueller 078d7101aa Increase version 2024-11-29 00:00:01 +01:00
Gregor Žunič 13770b4229 upgraded package version 2024-11-28 23:10:18 +01:00
Gregor Žunič 1160ab6884 bumped up project version 2024-11-28 17:00:50 +01:00
Gregor Žunič ec050e116b downgraded httpx version 2024-11-28 16:54:24 +01:00
Gregor Žunič d55e6eea12 upgraded to version 0.1.9 2024-11-28 15:37:02 +01:00
Magnus Müller 5bd5287e80 Update pyproject.toml 2024-11-23 15:41:32 +01:00
Gregor Žunič 5c6767c3b3 fixed pyproject toml 2024-11-22 21:56:42 +01:00
Gregor Žunič 03b83d60a6 bumped up version 2024-11-22 21:36:03 +01:00
Gregor Žunič 5941dd2752 Merge branch 'staging' into gregorzunic/bu-56-switch-from-selenium-to-playwright 2024-11-22 15:08:30 +01:00
Gregor Žunič f7148e3542 untested version of playwright (kinda works) 2024-11-19 18:32:31 +01:00
Magnus Müller 8a97bb1938 Update pyproject.toml new version 2024-11-19 17:02:44 +01:00
magmueller a0f96b76b4 Release version 0.1.5 2024-11-19 00:03:31 +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č 95d73b1b94 reverted back to pyproject requirments 2024-11-16 00:33:28 +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
Gregor Žunič fedc08926c Merge branch 'feature/improving-extraction-layer' into main 2024-11-13 20:28:13 +01:00
Tyler Galdes 9b34692d54 Add lxml_html_clean as a dependency in pyproject.toml 2024-11-08 22:05:39 -05:00
Gregor Žunič 7c5bc97e15 preserve element structure in outputs 2024-11-07 17:35:02 +01:00
Gregor Žunič 00f2c3de0c pypi release files 2024-11-06 18:55:31 +01:00
Gregor Žunič 68201df624 src -> browser_use 2024-11-06 18:18:00 +01:00
Gregor Žunič 675af9f7b9 cleanup 2024-11-05 13:41:05 +01:00
Gregor Žunič 28edd02baa added llms 2024-11-01 21:39:09 +01:00
Gregor Žunič d57495a799 work in progress 2024-11-01 17:07:05 +01:00
Gregor Žunič eeb91764d1 first repo 2024-10-31 17:00:29 +01:00