File size: 431 Bytes
0f51d62
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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()

# Define all tools
tools = [final_answer, polite_guard, web_search, get_the_current_time_in_timezone]