cowrycode commited on
Commit
64d3339
·
verified ·
1 Parent(s): 845b46e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,8 +83,8 @@ class BasicAgent:
83
  f"{question}\n\nIf you have enough information, respond with a concise final answer.",
84
  max_iterations=10
85
  )
86
- #return str(answer)
87
- return self.extract_answer(str(answer));
88
  # if hasattr(answer, "output"):
89
  # print(f"Agent returning answer: {answer}")
90
  # return str(answer.output)
 
83
  f"{question}\n\nIf you have enough information, respond with a concise final answer.",
84
  max_iterations=10
85
  )
86
+ return str(answer)
87
+ #return self.extract_answer(str(answer));
88
  # if hasattr(answer, "output"):
89
  # print(f"Agent returning answer: {answer}")
90
  # return str(answer.output)