Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fix(tests): bump retired claude-sonnet-4-0 to claude-sonnet-4-6

Saurav Pandae29cdeae0607
diff --git a/tests/ci/models/test_llm_anthropic.py b/tests/ci/models/test_llm_anthropic.py
index 96e0ac82a..b09a0f2b3 100644
--- a/tests/ci/models/test_llm_anthropic.py
+++ b/tests/ci/models/test_llm_anthropic.py
@@ -4,11 +4,11 @@ from browser_use.llm.anthropic.chat import ChatAnthropic
from tests.ci.models.model_test_helper import run_model_button_click_test
-async def test_anthropic_claude_sonnet_4_0(httpserver):
- """Test Anthropic claude-sonnet-4-0 can click a button."""
+async def test_anthropic_claude_sonnet_4_6(httpserver):
+ """Test Anthropic claude-sonnet-4-6 can click a button."""
await run_model_button_click_test(
model_class=ChatAnthropic,
- model_name='claude-sonnet-4-0',
+ model_name='claude-sonnet-4-6',
api_key_env='ANTHROPIC_API_KEY',
extra_kwargs={},
httpserver=httpserver,