Frazer2810 commited on
Commit
e247401
·
verified ·
1 Parent(s): 725afb1

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +8 -8
agent.py CHANGED
@@ -2,13 +2,13 @@ import os
2
  import logging
3
  from typing import List, Dict, Any, Optional
4
 
5
- from smalagents.agent import Agent
6
- from smalagents.llms import OpenAILLM
7
- from smalagents.tools import Tool
8
- from smalagents.tools.web_search import DuckDuckGoSearchTool
9
- from smalagents.tools.wikipedia import WikipediaSearchTool
10
- from smalagents.tools.arxiv import ArxivSearchTool
11
- from smalagents.tools.code_interpreter import CodeInterpreterTool
12
 
13
  # Configurazione del logging
14
  logging.basicConfig(
@@ -20,7 +20,7 @@ logger = logging.getLogger("GaiaAgent")
20
  class GaiaAgent:
21
  """
22
  Agente AI per superare il test GAIA livello 1.
23
- Utilizza smalagents con capacità di ricerca Wikipedia, DuckDuckGo, arXiv e code execution.
24
  """
25
 
26
  def __init__(self):
 
2
  import logging
3
  from typing import List, Dict, Any, Optional
4
 
5
+ from smolagents.agent import Agent
6
+ from smolagents.llms import OpenAILLM
7
+ from smolagents.tools import Tool
8
+ from smolagents.tools.web_search import DuckDuckGoSearchTool
9
+ from smolagents.tools.wikipedia import WikipediaSearchTool
10
+ from smolagents.tools.arxiv import ArxivSearchTool
11
+ from smolagents.tools.code_interpreter import CodeInterpreterTool
12
 
13
  # Configurazione del logging
14
  logging.basicConfig(
 
20
  class GaiaAgent:
21
  """
22
  Agente AI per superare il test GAIA livello 1.
23
+ Utilizza smolagents con capacità di ricerca Wikipedia, DuckDuckGo, arXiv e code execution.
24
  """
25
 
26
  def __init__(self):