Skip to content

Commit

Permalink
Fix CLI webagent (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova authored Mar 5, 2025
1 parent 340b466 commit da06f2b
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 da06f2b

Please sign in to comment.