Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,6 @@ class BasicAgent:
|
|
20 |
self.gaia_agent = EnhancedGAIAAgent()
|
21 |
|
22 |
def __call__(self, question: str) -> str:
|
23 |
-
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
24 |
|
25 |
# Use your GAIA agent instead of fixed answer
|
26 |
try:
|
@@ -31,10 +30,8 @@ class BasicAgent:
|
|
31 |
}
|
32 |
|
33 |
# Call your GAIA agent's solve method
|
34 |
-
|
35 |
-
answer = asyncio.run(self.gaia_agent.solve_gaia_question(question_data))
|
36 |
|
37 |
-
print(f"Agent returning GAIA answer: {answer[:100]}...")
|
38 |
return answer
|
39 |
|
40 |
except Exception as e:
|
|
|
20 |
self.gaia_agent = EnhancedGAIAAgent()
|
21 |
|
22 |
def __call__(self, question: str) -> str:
|
|
|
23 |
|
24 |
# Use your GAIA agent instead of fixed answer
|
25 |
try:
|
|
|
30 |
}
|
31 |
|
32 |
# Call your GAIA agent's solve method
|
33 |
+
answer = self.gaia_agent.solve_gaia_question(question_data)
|
|
|
34 |
|
|
|
35 |
return answer
|
36 |
|
37 |
except Exception as e:
|