mirror of https://github.com/aliasrobotics/cai.git
Update google search
This commit is contained in:
parent
3843498ef5
commit
b4f49959b0
|
|
@ -12,7 +12,6 @@ from dotenv import load_dotenv
|
|||
from cai.sdk.agents import function_tool
|
||||
|
||||
|
||||
@function_tool
|
||||
def google_search(query: str, num_results: int = 10) -> str:
|
||||
"""
|
||||
Perform a regular Google search and return a formatted string with results.
|
||||
|
|
@ -36,7 +35,6 @@ def google_search(query: str, num_results: int = 10) -> str:
|
|||
return formatted_results
|
||||
|
||||
|
||||
@function_tool
|
||||
def google_dork_search(dork_query: str, num_results: int = 100) -> str:
|
||||
"""
|
||||
Perform a Google dork search and return a formatted string with URLs.
|
||||
|
|
|
|||
Loading…
Reference in New Issue