Spaces:
Sleeping
Sleeping
await removed
Browse files
app.py
CHANGED
|
@@ -27,8 +27,7 @@ class BasicAgent:
|
|
| 27 |
print("BasicAgent initialized.")
|
| 28 |
def __call__(self, question: str) -> str:
|
| 29 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 30 |
-
|
| 31 |
-
fixed_answer = await handler
|
| 32 |
print(f"Agent returning fixed answer: {fixed_answer}")
|
| 33 |
return fixed_answer
|
| 34 |
|
|
|
|
| 27 |
print("BasicAgent initialized.")
|
| 28 |
def __call__(self, question: str) -> str:
|
| 29 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 30 |
+
fixed_answer = self.agent.run(question_text)
|
|
|
|
| 31 |
print(f"Agent returning fixed answer: {fixed_answer}")
|
| 32 |
return fixed_answer
|
| 33 |
|