Skip to content

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

Renamed example

magmuellera75d0e672110
diff --git a/examples/custom_output.py b/examples/custom_output_and_validate_output.py
similarity index 94%
rename from examples/custom_output.py
rename to examples/custom_output_and_validate_output.py
index 763692e95..813c58855 100644
--- a/examples/custom_output.py
+++ b/examples/custom_output_and_validate_output.py
@@ -37,7 +37,7 @@ async def done(params: DoneResult):
async def main():
- task = 'Go to hackernews hn and give me the top 1 post'
+ task = 'Go to hackernews show hn and give me the number 1 post in the list'
model = ChatOpenAI(model='gpt-4o')
agent = Agent(task=task, llm=model, controller=controller, validate_output=True)