Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ class BasicAgent:
|
|
32 |
|
33 |
def __call__(self, question: str) -> str:
|
34 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
35 |
-
fixed_answer = self.agent.
|
36 |
print(f"Agent returning answer: {fixed_answer}")
|
37 |
return fixed_answer
|
38 |
|
|
|
32 |
|
33 |
def __call__(self, question: str) -> str:
|
34 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
35 |
+
fixed_answer = self.agent.generate_response(question)
|
36 |
print(f"Agent returning answer: {fixed_answer}")
|
37 |
return fixed_answer
|
38 |
|