Remove "agent.state" argument from "agent.python_executor" args

#64
unit2/smolagents/vision_web_browser.py CHANGED
@@ -199,7 +199,7 @@ def main():
199
  agent = initialize_agent(model)
200
 
201
  # Run the agent with the provided prompt
202
- agent.python_executor("from helium import *", agent.state)
203
  agent.run(args.prompt + helium_instructions)
204
 
205
 
 
199
  agent = initialize_agent(model)
200
 
201
  # Run the agent with the provided prompt
202
+ agent.python_executor("from helium import *")
203
  agent.run(args.prompt + helium_instructions)
204
 
205