Skip to content

Commit

Permalink
Fix CLI webagent
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova committed Mar 5, 2025
1 parent ff7ba51 commit 2f23fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smolagents/vision_web_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def main():
agent = initialize_agent(model)

# Run the agent with the provided prompt
agent.python_executor("from helium import *", agent.state)
agent.python_executor("from helium import *")
agent.run(args.prompt + helium_instructions)


Expand Down

0 comments on commit 2f23fc8

Please sign in to comment.