Adds bu-2-0-mini-preview as an accepted model id and makes it the
constructor default, so a bare ChatBrowserUse() now routes there.
bu-2-0 is unchanged: still accepted, still documented as the premium
option, and bu-latest still resolves to it. Keeping 'latest' on the
stable line means existing callers pinned to that alias do not silently
move onto a preview model; only the bare-constructor default moves.
Pricing is registered alongside the model so cost tracking does not
silently report $0 for what is now the default. This model has no cache
discount, so cached reads bill at the input rate.
Examples, README and the model reference are updated to the new default.
The model reference also claimed bu-latest resolved to bu-1-0, which has
not been true since bu-2-0 shipped; corrected here.
- add gemini-3-flash-preview-lite to VerifiedGeminiModels and token mappings
- list both gemini-3-flash-preview[-lite] alongside existing -latest aliases in CLOUD.md and api-v2.md SupportedLLMs
- swap example code and recommendations (examples/, AGENTS.md, quickstart.md, bug report placeholder) to gemini-3-flash-preview / -lite
- update Google CI test + evaluate_tasks judge LLM to gemini-3-flash-preview / -lite
- auto-detects chrome executable and user data dir on macos/windows/linux
- auto-selects first available profile if none specified
- added Browser.list_chrome_profiles() to see available profiles
- updated examples to prompt user for profile selection
- fixed missing browser.stop() in save_cookies.py
- Introduced a new method `export_storage_state` that allows exporting browser cookies and storage in Playwright format.
- Added functionality to save the exported state to a specified JSON file.
- Updated example scripts to demonstrate the usage of the new method.
This commit updates the Playwright integration example in `playwright_integration.py` to provide a clearer overview of its key features. The previous detailed description has been condensed into a more concise format, highlighting the main functionalities of sharing a Chrome instance via CDP and the ability to perform actions with both Playwright and Browser-Use.
- **Documentation Update**
- Simplified the example description for better clarity and focus on key features.
This commit introduces a new example demonstrating the integration of Playwright with Browser-Use. The example showcases how to start Chrome with CDP enabled, create custom actions for form filling, taking screenshots, and extracting text using Playwright's capabilities. It includes necessary dependency checks and a main function to orchestrate the workflow using an AI agent.
- **New Features**
- Implemented custom actions: `playwright_fill_form`, `playwright_screenshot`, and `playwright_get_text`.
- Added error handling and dependency checks for required libraries.
- Provided detailed documentation within the code for clarity on usage and functionality.
- Added pattern to .gitignore for temporary profile directories.
- Introduced a new example script demonstrating how to run multiple agents with separate browser instances using asyncio.
- Simplified the example code for better clarity and usability.
- Added new section for "Multiple Browser Instances" with example code for running agents in parallel using separate browser instances.
- Updated "Keep Open" documentation to reflect changes in task execution, simplifying the agent run process.
- Revised "Real Browser" documentation to clarify connection methods and updated example code for better usability.
- Removed outdated content from "Remote Browsers" section to streamline information and improve clarity.