SergeyO7 commited on
Commit
0208310
·
verified ·
1 Parent(s): 21e9b57

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +8 -1
agent.py CHANGED
@@ -6,7 +6,14 @@ import yaml
6
  # Simulated additional tools (implementation depends on external APIs or setup)
7
  @tool
8
  def GoogleSearchTool(query: str) -> str:
9
- """Tool for performing Google searches using Custom Search JSON API"""
 
 
 
 
 
 
 
10
  def __init__(self):
11
  self.api_key = os.environ.get("GOOGLE_API_KEY")
12
  self.cse_id = os.environ.get("GOOGLE_CSE_ID")
 
6
  # Simulated additional tools (implementation depends on external APIs or setup)
7
  @tool
8
  def GoogleSearchTool(query: str) -> str:
9
+ """Tool for performing Google searches using Custom Search JSON API
10
+
11
+ Args:
12
+ query (str): Search query string to look up
13
+
14
+ Returns:
15
+ str: Formatted search results (simulated or real)
16
+ """
17
  def __init__(self):
18
  self.api_key = os.environ.get("GOOGLE_API_KEY")
19
  self.cse_id = os.environ.get("GOOGLE_CSE_ID")