mirror of https://github.com/aliasrobotics/cai.git
Merge branch '0.4.0' of https://gitlab.com/aliasrobotics/alias_research/cai into 0.4.0
This commit is contained in:
commit
a96a8ae413
|
|
@ -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