Commit Graph

42 Commits

Author SHA1 Message Date
Magnus Müller
1535bb1aa5 Typo 2025-10-21 20:05:42 -07:00
Magnus Müller
9caa248316 Merge code7 branch changes 2025-10-21 18:55:54 -07:00
Magnus Müller
e7905a2230 Fix import 2025-10-12 13:32:07 -07:00
Sandeep
6ef1542a80 fixed lint issues 2025-09-16 02:52:33 +05:30
Sandeep
46009337fd added extra validations. 2025-09-16 01:56:07 +05:30
Magnus Müller
48b98de1df Rename import from llm to models 2025-09-03 09:13:30 -07:00
Magnus Müller
570b15d26a Add LLM models module and update agent initialization for default LLM 2025-09-03 09:00:57 -07:00
Magnus Müller
655ce80f1c Update docker file 2025-08-26 17:34:48 -07:00
Magnus Müller
d1c7c675c5 Fix spelling 2025-08-26 17:12:23 -07:00
Magnus Müller
9463e4eb1e Fix simple example 2025-08-26 14:23:40 -07:00
Magnus Müller
6655453f92 Backwards compatible with controller 2025-08-26 11:18:53 -07:00
Magnus Müller
13dd73b23a Update Tool imports in docs, readme, and docstrings 2025-08-26 11:13:27 -07:00
Magnus Müller
2e650019c5 Rename controller file to tools 2025-08-26 11:08:08 -07:00
Magnus Müller
e89e78842c Rename controller file to tools 2025-08-26 11:06:28 -07:00
Magnus Müller
2a83442f17 Rename Controller to Tools 2025-08-26 11:04:16 -07:00
Magnus Müller
505a103aa3 Browser import works 2025-08-25 21:16:30 -07:00
Magnus Müller
146b7ff423 safe info and debug logs to files 2025-08-24 16:47:02 -07:00
Magnus Müller
4bad26b899 Default llm 2025-08-20 22:18:07 -07:00
Magnus Müller
c1a28ba503 set default_llm 2025-08-20 13:19:44 -07:00
Nick Sweeting
86fb443895 remove old unused playwright types 2025-08-14 14:32:31 -07:00
mertunsall
ce5bfe6195 lazy imports and bump some versions 2025-07-20 22:58:34 +02:00
Nick Sweeting
9e9cce40f6 simplify error logging and fix timeouts 2025-07-07 21:29:03 -07:00
Gregor Žunič
8eda3f46ff chat ollama 2025-06-27 12:17:25 +02:00
Nick Sweeting
1d244960c4 move __del__ monkeypatch to init 2025-06-10 03:47:27 -07:00
Anirudha619
46e495a3b0 remove manual event loop policy override on Windows (Python ≥3.11 uses Proactor by default) 2025-06-01 17:54:55 +05:30
Anirudha619
dda842a199 Fix: Use ProactorEventLoop on Windows for Playwright compatibility 2025-05-31 23:44:44 +05:30
Nick Sweeting
2195ce6e1b wrap windows async adjustment in except 2025-05-28 02:03:28 -07:00
Nick Sweeting
02254d8107 set windows async event loop policy to fix playwright async issues 2025-05-28 02:00:40 -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
2f002b4c22 rename session.py profile.py, fix stealth example, fix tests 2025-05-20 05:34:47 -07:00
Nick Sweeting
90dad4a39a refactor to use new BrowserSession model 2025-05-17 04:54:13 -07:00
Max Comperatore
0cb1d5e44b Suppress specific deprecation warnings from FAISS 2025-05-08 12:24:22 +00:00
Gregor Žunič
4c92d071b4 Feature/cloud required changes no stop context (#697)
* add force context and browser alive tags

* removed unnecesary comment, better import for BrowserContextConfig
2025-02-12 17:46:01 -08:00
Gregor Žunič
d4e9257c4c renamed service to browser 2024-12-01 14:14:48 +01:00
magmueller
c39bf65da1 Merge remote-tracking branch 'origin/main' into feature/reexecutable-script 2024-11-28 23:28:06 +01:00
Gregor Žunič
0d86bbb317 wait for traffic load, better browser config 2024-11-28 22:41:01 +01:00
magmueller
d35b1ebc71 Draft rerun - but breaks if index change 2024-11-27 10:36:50 +01:00
magmueller
07bba9ae32 Example apply to jobs 2024-11-25 09:45:02 +01:00
Gregor Žunič
03b83d60a6 bumped up version 2024-11-22 21:36:03 +01:00
magmueller
2bba5d4617 Option to set new tasks and to do custom system prompt 2024-11-19 16:25:06 +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č
68201df624 src -> browser_use 2024-11-06 18:18:00 +01:00