ReMind / src /agents /web_agents.py
GhostDragon01's picture
feat: Add project demo video to README and enhance agent configurations for improved performance
9685fdc
raw
history blame contribute delete
367 Bytes
import os
from smolagents import (
ToolCallingAgent,
InferenceClientModel,
WebSearchTool,
)
model = InferenceClientModel(
provider="nebius",
token=os.environ["HF_TOKEN"],
)
web_agent = ToolCallingAgent(
tools=[WebSearchTool()],
model=model,
max_steps=10,
name="web_search_agent",
description="Runs web searches for you.",
)