innovation64 commited on
Commit
e3db5e0
·
verified ·
1 Parent(s): df17d20

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -16,7 +16,8 @@ from smolagents import (
16
  DuckDuckGoSearchTool,
17
  OpenAIServerModel,
18
  Tool,
19
- PythonInterpreterTool
 
20
  )
21
  from typing import List, Dict, Any, Optional, Tuple
22
 
@@ -318,7 +319,7 @@ class GAIAAgent:
318
  def setup_tools(self):
319
  """Set up the tools for the agent"""
320
  self.tools = [
321
- DucDuckGoSearchTool(),
322
  PythonInterpreterTool(),
323
  ReverseTextTool(),
324
  TableParseTool(),
 
16
  DuckDuckGoSearchTool,
17
  OpenAIServerModel,
18
  Tool,
19
+ PythonInterpreterTool,
20
+ tool # Make sure to import the 'tool' decorator
21
  )
22
  from typing import List, Dict, Any, Optional, Tuple
23
 
 
319
  def setup_tools(self):
320
  """Set up the tools for the agent"""
321
  self.tools = [
322
+ DuckDuckGoSearchTool(), # Fixed typo in tool name
323
  PythonInterpreterTool(),
324
  ReverseTextTool(),
325
  TableParseTool(),