Coool2 commited on
Commit
e71540b
·
verified ·
1 Parent(s): 77eaebf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
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
- import asyncio
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: