- CustomAgent.py +1 -1
CustomAgent.py
CHANGED
|
@@ -48,7 +48,7 @@ If you are asked for a comma separated list, apply the above rules depending of
|
|
| 48 |
"""
|
| 49 |
try:
|
| 50 |
r = requests.post(
|
| 51 |
-
f"{os.environ[
|
| 52 |
json={"query": query}
|
| 53 |
)
|
| 54 |
r.raise_for_status()
|
|
|
|
| 48 |
"""
|
| 49 |
try:
|
| 50 |
r = requests.post(
|
| 51 |
+
f"{os.environ['WEBSEARCH_API_URL']}/tools/websearch",
|
| 52 |
json={"query": query}
|
| 53 |
)
|
| 54 |
r.raise_for_status()
|