mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
properly adding serper tool
This commit is contained in:
@@ -7,6 +7,7 @@ from .tools import (
|
||||
DirectoryReadTool,
|
||||
FileReadTool,
|
||||
GithubSearchTool,
|
||||
SeperDevTool,
|
||||
TXTSearchTool,
|
||||
JSONSearchTool,
|
||||
MDXSearchTool,
|
||||
|
||||
@@ -31,8 +31,6 @@ class SeperDevTool(BaseTool):
|
||||
results = response.json()['organic']
|
||||
stirng = []
|
||||
for result in results:
|
||||
print(result)
|
||||
print('--------------')
|
||||
try:
|
||||
stirng.append('\n'.join([
|
||||
f"Title: {result['title']}",
|
||||
|
||||
Reference in New Issue
Block a user