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
Fix imports of DeepSeek examples in docs
democrazyfi556ea3162382
diff --git a/docs/customize/supported-models.mdx b/docs/customize/supported-models.mdxindex 53e72a561..459e846dd 100644--- a/docs/customize/supported-models.mdx+++ b/docs/customize/supported-models.mdx@@ -143,16 +143,17 @@ The community likes DeepSeek-V3 for its low price, no rate limits, open-source nThe example is available [here](https://github.com/browser-use/browser-use/blob/main/examples/models/deepseek.py).```python-from langchain_openai import ChatOpenAI+from langchain_deepseek import ChatDeepSeekfrom browser_use import Agentfrom pydantic import SecretStrfrom dotenv import load_dotenv+import osload_dotenv()api_key = os.getenv("DEEPSEEK_API_KEY")# Initialize the model-llm=ChatOpenAI(base_url='https://api.deepseek.com/v1', model='deepseek-chat', api_key=SecretStr(api_key))+llm=ChatDeepSeek(base_url='https://api.deepseek.com/v1', model='deepseek-chat', api_key=SecretStr(api_key))# Create agent with the modelagent = Agent(@@ -173,16 +174,17 @@ We support DeepSeek-R1. Its not fully tested yet, more and more functionality wiThe example is available [here](https://github.com/browser-use/browser-use/blob/main/examples/models/deepseek-r1.py).It does not support vision. The model is open-source so you could also use it with Ollama, but we have not tested it.```python-from langchain_openai import ChatOpenAI+from langchain_deepseek import ChatDeepSeekfrom browser_use import Agentfrom pydantic import SecretStrfrom dotenv import load_dotenv+import osload_dotenv()api_key = os.getenv("DEEPSEEK_API_KEY")# Initialize the model-llm=ChatOpenAI(base_url='https://api.deepseek.com/v1', model='deepseek-reasoner', api_key=SecretStr(api_key))+llm=ChatDeepSeek(base_url='https://api.deepseek.com/v1', model='deepseek-reasoner', api_key=SecretStr(api_key))# Create agent with the modelagent = Agent(