kuma-rtin commited on
Commit
b31d773
·
verified ·
1 Parent(s): 39e104f

Update basic_agent.py

Browse files
Files changed (1) hide show
  1. basic_agent.py +1 -1
basic_agent.py CHANGED
@@ -20,6 +20,6 @@ class BasicAgent:
20
 
21
  # self.ctx = Context(self.agent)
22
 
23
- def __call__(self, question: str) -> str:
24
  response = await self.agent.run(user_msg=question) # ctx=self.ctx)
25
  return response.response.content
 
20
 
21
  # self.ctx = Context(self.agent)
22
 
23
+ async def __call__(self, question: str) -> str:
24
  response = await self.agent.run(user_msg=question) # ctx=self.ctx)
25
  return response.response.content