tonko22 commited on
Commit
f252842
·
1 Parent(s): 92894aa

Update searach tool and description

Browse files
agents/single_agent.py CHANGED
@@ -28,7 +28,8 @@ def create_single_agent(model):
28
  agent = CodeAgent(
29
  tools=[
30
  FinalAnswerTool(),
31
- ThrottledDuckDuckGoSearchTool(min_delay=7.0, max_delay=15.0),
 
32
  VisitWebpageTool(),
33
  AnalyzeLyricsTool(),
34
  FormatAnalysisResultsTool()
 
28
  agent = CodeAgent(
29
  tools=[
30
  FinalAnswerTool(),
31
+ DuckDuckGoSearchTool(),
32
+ # ThrottledDuckDuckGoSearchTool(min_delay=7.0, max_delay=15.0),
33
  VisitWebpageTool(),
34
  AnalyzeLyricsTool(),
35
  FormatAnalysisResultsTool()
tools/analysis_tools.py CHANGED
@@ -12,7 +12,7 @@ class AnalyzeLyricsTool(Tool):
12
  """Tool for analyzing song lyrics"""
13
 
14
  name = "analyze_lyrics"
15
- description = "Analyzes song lyrics and returns a detailed analysis"
16
  inputs = {
17
  "song_title": {"type": "string", "description": "Title of the song"},
18
  "artist": {"type": "string", "description": "Name of the artist"},
 
12
  """Tool for analyzing song lyrics"""
13
 
14
  name = "analyze_lyrics"
15
+ description = "Analyzes song lyrics, given its text as a string, and returns a detailed analysis"
16
  inputs = {
17
  "song_title": {"type": "string", "description": "Title of the song"},
18
  "artist": {"type": "string", "description": "Name of the artist"},