Update basic_agent.py
Browse files- 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
|