Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ class BasicAgent:
|
|
| 31 |
self.tools = [
|
| 32 |
search_tool
|
| 33 |
]
|
| 34 |
-
chat_with_tools = chat.bind_tools(tools)
|
| 35 |
self.graph = self._build_graph()
|
| 36 |
print("BasicAgent initialized.")
|
| 37 |
def __call__(self, question: str) -> str:
|
|
|
|
| 31 |
self.tools = [
|
| 32 |
search_tool
|
| 33 |
]
|
| 34 |
+
chat_with_tools = chat.bind_tools(self.tools)
|
| 35 |
self.graph = self._build_graph()
|
| 36 |
print("BasicAgent initialized.")
|
| 37 |
def __call__(self, question: str) -> str:
|