dawid-lorek commited on
Commit
0985bbd
·
verified ·
1 Parent(s): 6b3a9ed

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -40,4 +40,4 @@ agent = AgentWorkflow.from_tools_or_functions(
40
 
41
  import asyncio
42
  async def answer_question(question: str) -> str:
43
- return await agent.arun(question)
 
40
 
41
  import asyncio
42
  async def answer_question(question: str) -> str:
43
+ return await agent.run(question)