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
format
mertunsallb72ced8736a6
diff --git a/browser_use/llm/openai/chat.py b/browser_use/llm/openai/chat.pyindex 6a994fed1..c225dc822 100644--- a/browser_use/llm/openai/chat.py+++ b/browser_use/llm/openai/chat.py@@ -204,9 +204,7 @@ class ChatOpenAI(BaseChatModel):openai_messages[0]['content'] += schema_textelif isinstance(openai_messages[0]['content'], Iterable):openai_messages[0]['content'] = list(openai_messages[0]['content']) + [- ChatCompletionContentPartTextParam(- text=schema_text, type='text'- )+ ChatCompletionContentPartTextParam(text=schema_text, type='text')]# Return structured response