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
fixed azure openai chat with gpt-5.1-codex
Saurav Pandafe6e8d47e112
diff --git a/examples/models/azure_openai.py b/examples/models/azure_openai.pyindex b9f47917b..314bf2089 100644--- a/examples/models/azure_openai.py+++ b/examples/models/azure_openai.py@@ -31,13 +31,11 @@ from browser_use.llm import ChatAzureOpenAIapi_key = os.getenv('AZURE_OPENAI_KEY')azure_endpoint = os.getenv('AZURE_OPENAI_ENDPOINT')llm = ChatAzureOpenAI(- model='gpt-5.1-codex-mini',- api_key=api_key,- azure_endpoint=azure_endpoint,+ model='gpt-5.1-codex-mini', api_key=api_key, azure_endpoint=azure_endpoint, api_version='2025-03-01-preview')TASK = """-Go to google.com/travel/flights and find the cheapest flight from New York to Paris on 2025-10-15+Go to google.com/travel/flights and find the cheapest flight from New York to Paris on next Sunday"""agent = Agent(@@ -47,7 +45,7 @@ agent = Agent(async def main():- await agent.run(max_steps=10)+ await agent.run(max_steps=25)asyncio.run(main())