Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Update claude.yml
Nick Sweeting2c9eaf700a6a
diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.ymlindex f2b16cd52..f96abd728 100644--- a/.github/workflows/claude.yml+++ b/.github/workflows/claude.yml@@ -27,15 +27,6 @@ jobs:issues: writeenv:IS_SANDBOX: '1'- IN_DOCKER: 'true'- BROWSER_USE_CLOUD_SYNC: 'false'- ANONYMIZED_TELEMETRY: 'false'- BROWSER_USE_LOGGING_LEVEL: 'DEBUG'- OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}- PERPLEXITY_API_KEY: ${{ secrets.PERPLEXITY_API_KEY }}- ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}- GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}- GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}steps:- uses: actions/checkout@v4- uses: astral-sh/setup-uv@v6@@ -78,8 +69,26 @@ jobs:uses: anthropics/claude-code-action@betawith:anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}- #model: "claude-3-5-sonnet-20241022"model: "claude-opus-4-20250514"+ fallback_model: "claude-3-5-sonnet-20241022"+ custom_instructions: |+ when making any significant changes, start by adding one or two new failing test functions to the most relevant file you can find in tests/ci/*.py, then work on your changes until you get the tests passing.+ make sure all lint errors are fixed before committing: `uv run pre-commit --all-files`, you can also use mcp tools to check Github CI status.+ make sure to run the whole test file at the end to make sure no other tests in that file started failing due to your changes: `uv run pytest/ci/test_....py`.+ if any significant features were added or removed, or any public-facing parameters/signatures changed, make sure to look through docs/*.mdx and examples/**.py and fix any relevant areas that might need to be updated.+ branch_prefix: "claude-"+ additional_permissions: |+ actions: read+ claude_env: |+ IN_DOCKER: 'true'+ BROWSER_USE_CLOUD_SYNC: 'false'+ ANONYMIZED_TELEMETRY: 'false'+ BROWSER_USE_LOGGING_LEVEL: 'DEBUG'+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}+ PERPLEXITY_API_KEY: ${{ secrets.PERPLEXITY_API_KEY }}+ ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}+ GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}+ GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}allowed_tools: |Bash(uv:*)Bash(uv run pytest:*)@@ -105,15 +114,3 @@ jobs:Bash(./bin/test.sh)WebFetch(*)WebSearch(*)- # Edit # included by default- # Glob- # Grep- # LS- # MultiEdit- # NotebookEdit- # NotebookRead- # Read- # Task- # TodoWrite- # Write- # Replace