Skip to content

Build and run agents you can see, understand and trust.

[HOTFIX] Fix the bug in browser-use agent example (#836)

qbcc6352818dba3
diff --git a/examples/agent_browser/browser_agent.py b/examples/agent_browser/browser_agent.py
index 05a237734..ebf4d1c8a 100644
--- a/examples/agent_browser/browser_agent.py
+++ b/examples/agent_browser/browser_agent.py
@@ -322,7 +322,7 @@ class BrowserAgent(ReActAgent):
)
# Format the prompt for the model
- prompt = self.formatter.format(
+ prompt = await self.formatter.format(
msgs=[
Msg("system", self.sys_prompt, "system"),
*memory_msgs,