optionEdge commited on
Commit
5c1e3a6
Β·
verified Β·
1 Parent(s): cf9e2dc

Update BasicAgent.py

Browse files
Files changed (1) hide show
  1. BasicAgent.py +1 -1
BasicAgent.py CHANGED
@@ -27,7 +27,7 @@ class newAgent:
27
  def __call__(self, question: str) -> str:
28
  """ONE question in β†’ ONE pure-text answer out."""
29
  # ↓ Replace .run with whatever method actually returns the answer string.
30
- return self.agent.run(question)
31
 
32
  #agent.run(
33
  # "At what temperature and for how long should I bake French baguettes made with type 65 flour?",
 
27
  def __call__(self, question: str) -> str:
28
  """ONE question in β†’ ONE pure-text answer out."""
29
  # ↓ Replace .run with whatever method actually returns the answer string.
30
+ return str(answer)
31
 
32
  #agent.run(
33
  # "At what temperature and for how long should I bake French baguettes made with type 65 flour?",