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