from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel import os model = HfApiModel(model_id="meta-llama/Llama-2-7b-chat-hf", token=os.getenv('Testing') ) agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model) agent.run("How many seconds would it take for a leopard at full speed to run through Pont des Arts?")