Update agent.py
Browse files
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.
|
|
|
40 |
|
41 |
import asyncio
|
42 |
async def answer_question(question: str) -> str:
|
43 |
+
return await agent.run(question)
|