- CustomAgent.py +1 -0
CustomAgent.py
CHANGED
|
@@ -46,6 +46,7 @@ Question: {question}
|
|
| 46 |
print("Agent returning actual answer:", result)
|
| 47 |
return result
|
| 48 |
|
|
|
|
| 49 |
def websearch(self, query: str) -> str:
|
| 50 |
"""
|
| 51 |
Performs a web search using an external web search API.
|
|
|
|
| 46 |
print("Agent returning actual answer:", result)
|
| 47 |
return result
|
| 48 |
|
| 49 |
+
@staticmethod
|
| 50 |
def websearch(self, query: str) -> str:
|
| 51 |
"""
|
| 52 |
Performs a web search using an external web search API.
|