TommasoBB commited on
Commit
7272cb4
·
verified ·
1 Parent(s): d2c86b6

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -2
tools.py CHANGED
@@ -67,7 +67,7 @@ class ImageReaderTool:
67
  return f"Failed to download image for task {task_id}"
68
 
69
 
70
- #search web tool — uses ddgs directly to avoid smolagents DuckDuckGoSearchTool package check
71
  class WebSearchTool:
72
  name = "web_search"
73
 
@@ -90,4 +90,3 @@ class WebSearchTool:
90
  output = f"Search error: {e}"
91
  print(f"WebSearchTool returning result (first 100 chars): {output[:100]}...")
92
  return output
93
-
 
67
  return f"Failed to download image for task {task_id}"
68
 
69
 
70
+ # Web search tool — uses ddgs directly to avoid smolagents DuckDuckGoSearchTool package check
71
  class WebSearchTool:
72
  name = "web_search"
73
 
 
90
  output = f"Search error: {e}"
91
  print(f"WebSearchTool returning result (first 100 chars): {output[:100]}...")
92
  return output