mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 09:08:31 +00:00
14 lines
259 B
Python
14 lines
259 B
Python
from crewai_tools.tools.brave_search_tool.brave_search_tool import BraveSearchTool
|
|
|
|
|
|
def test_brave_tool():
|
|
tool = BraveSearchTool(
|
|
n_results=2,
|
|
)
|
|
|
|
print(tool.run(search_query="ChatGPT"))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
test_brave_tool()
|