Skip to content

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

fix: remove incorrect await on synchronous get_llm call

Andrew Barnes76aadd0439df
diff --git a/browser_use/skill_cli/commands/agent.py b/browser_use/skill_cli/commands/agent.py
index 6609cb945..d11085c84 100644
--- a/browser_use/skill_cli/commands/agent.py
+++ b/browser_use/skill_cli/commands/agent.py
@@ -199,7 +199,7 @@ async def _handle_local_task(session: SessionInfo, params: dict[str, Any]) -> An
from browser_use.agent.service import Agent
# Try to get LLM from environment (with optional model override)
- llm = await get_llm(model=model)
+ llm = get_llm(model=model)
if llm is None:
if model:
return {