Commit Graph

4 Commits

Author SHA1 Message Date
Nick Sweeting 650a956efb fix retry handling for singletonLock case 2025-07-29 11:16:27 -07:00
claude[bot] 3183a3ae73 Fix ruff formatting in __init__.py
Add missing blank line after import statement to comply with ruff formatting rules.

Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com>
2025-07-16 02:23:49 +00:00
claude[bot] e3bc64d22c Fix: Only configure MCP server logging when server is instantiated, not on import
This fixes the issue where importing MCPClient would disable logging globally.

- Move logging configuration from module-level imports to BrowserUseServer.__init__()
- Add lazy import in __init__.py to avoid importing server module when only client is needed
- Create _configure_mcp_server_logging() function that only runs when server is actually used
- Environment variables now only set when BrowserUseServer is instantiated

Fixes #2449

Co-authored-by: Nick Sweeting <pirate@users.noreply.github.com>
2025-07-15 21:54:51 +00:00
Nick Sweeting 6dcf479fc6 add readme MCP section and fix lint errors 2025-07-07 17:07:06 -07:00