ContentAgent / agents /tools.py
yetessam's picture
Update agents/tools.py
060bcfa verified
raw
history blame
552 Bytes
from ..tools.final_answer import FinalAnswerTool
from ..tools.polite_guard import PoliteGuardTool
from ..tools.web_search import DuckDuckGoSearchTool
from agents.time_tool import get_the_current_time_in_timezone
# Initialize tools
final_answer = FinalAnswerTool()
polite_guard = PoliteGuardTool()
web_search = DuckDuckGoSearchTool()
# Import tool from Hub
#image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
# Define all tools
tools = [final_answer, polite_guard, web_search, get_the_current_time_in_timezone]