Spaces:
Sleeping
Sleeping
fix variable name
Browse files- basic_agent.py +3 -3
basic_agent.py
CHANGED
|
@@ -16,6 +16,6 @@ class BasicAgent:
|
|
| 16 |
)
|
| 17 |
|
| 18 |
def __call__(self, question: str) -> str:
|
| 19 |
-
|
| 20 |
-
print(f"Agent returning
|
| 21 |
-
return
|
|
|
|
| 16 |
)
|
| 17 |
|
| 18 |
def __call__(self, question: str) -> str:
|
| 19 |
+
final_answer = self.agent.run(task=question)
|
| 20 |
+
print(f"Agent returning final answer: {final_answer}")
|
| 21 |
+
return final_answer
|