Spaces:
Sleeping
Sleeping
fix again
Browse files
app.py
CHANGED
|
@@ -70,11 +70,11 @@ class BasicAgent:
|
|
| 70 |
|
| 71 |
def __call__(self, input_text: str):
|
| 72 |
"""Make the agent callable directly."""
|
| 73 |
-
return self.agent.
|
| 74 |
|
| 75 |
def run(self, input_text: str):
|
| 76 |
"""Alternative explicit method."""
|
| 77 |
-
return self.agent.
|
| 78 |
|
| 79 |
def stream(self, input_text: str):
|
| 80 |
# Use `.stream_response()` for a streaming output
|
|
|
|
| 70 |
|
| 71 |
def __call__(self, input_text: str):
|
| 72 |
"""Make the agent callable directly."""
|
| 73 |
+
return self.agent.run(input_text)
|
| 74 |
|
| 75 |
def run(self, input_text: str):
|
| 76 |
"""Alternative explicit method."""
|
| 77 |
+
return self.agent.run(input_text)
|
| 78 |
|
| 79 |
def stream(self, input_text: str):
|
| 80 |
# Use `.stream_response()` for a streaming output
|