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
Add http_client to Anthropic Chat
LarsenCundricd251105e6469
diff --git a/browser_use/llm/anthropic/chat.py b/browser_use/llm/anthropic/chat.pyindex 0c2e55c2b..076d5b672 100644--- a/browser_use/llm/anthropic/chat.py+++ b/browser_use/llm/anthropic/chat.py@@ -50,6 +50,7 @@ class ChatAnthropic(BaseChatModel):max_retries: int = 10default_headers: Mapping[str, str] | None = Nonedefault_query: Mapping[str, object] | None = None+ http_client: httpx.AsyncClient | None = None# Static@property@@ -67,6 +68,7 @@ class ChatAnthropic(BaseChatModel):'max_retries': self.max_retries,'default_headers': self.default_headers,'default_query': self.default_query,+ 'http_client': self.http_client,}# Create client_params dict with non-None values and non-NotGiven values