Update app.py
Browse filesadding visitwebpagetool to the app
app.py
CHANGED
@@ -49,8 +49,8 @@ def initialize_agent():
|
|
49 |
# Initialize tools
|
50 |
final_answer = FinalAnswerTool()
|
51 |
web_search = DuckDuckGoSearchTool(max_results=5) # Initialize DDG search with 5 results
|
|
|
52 |
|
53 |
-
|
54 |
# Initialize components
|
55 |
final_answer = FinalAnswerTool()
|
56 |
|
|
|
49 |
# Initialize tools
|
50 |
final_answer = FinalAnswerTool()
|
51 |
web_search = DuckDuckGoSearchTool(max_results=5) # Initialize DDG search with 5 results
|
52 |
+
visit_webpage = VisitWebpageTool()
|
53 |
|
|
|
54 |
# Initialize components
|
55 |
final_answer = FinalAnswerTool()
|
56 |
|