cowrycode commited on
Commit
6b5a6d2
·
verified ·
1 Parent(s): da822a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ class BasicAgent:
31
  return answer
32
 
33
  def __call__(self, question: str) -> str:
34
- return self.run(question)
35
  #return asyncio.run(smart_agent(question, self.api_key))
36
  #print(f"Agent received question (first 50 chars): {question[:50]}...")
37
  #fixed_answer = "This is a default answer."
 
31
  return answer
32
 
33
  def __call__(self, question: str) -> str:
34
+ return smart_agent(question, self.api_key)
35
  #return asyncio.run(smart_agent(question, self.api_key))
36
  #print(f"Agent received question (first 50 chars): {question[:50]}...")
37
  #fixed_answer = "This is a default answer."