Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -6,7 +6,7 @@ import yaml
|
|
6 |
# Simulated additional tools (implementation depends on external APIs or setup)
|
7 |
@tool
|
8 |
class GoogleSearchTool:
|
9 |
-
|
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 |
class GoogleSearchTool:
|
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")
|